summaryrefslogtreecommitdiff
path: root/src/emap/status.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-05 14:53:33 +0000
committerAndrei Karas <akaras@inbox.ru>2016-07-05 14:53:33 +0000
commit53dcb71142e15f1f21cf626220de8039b7be7dd4 (patch)
tree86ea390b7de8e60251e67fe18bef879fec468e05 /src/emap/status.h
parent7f6c805f25d34ba80ca86e53216e1d588ab1ea75 (diff)
parentff678a2bc1f17d5f7faa8744c2c628b1f2b96a1e (diff)
downloadevol-hercules-53dcb71142e15f1f21cf626220de8039b7be7dd4.tar.gz
evol-hercules-53dcb71142e15f1f21cf626220de8039b7be7dd4.tar.bz2
evol-hercules-53dcb71142e15f1f21cf626220de8039b7be7dd4.tar.xz
evol-hercules-53dcb71142e15f1f21cf626220de8039b7be7dd4.zip
Merge branch 'tmw-skills' into 'master'
add skill "physical protection" (tmw betsanc) Implementing some of TMW skills (and magic) on hercules skill system. See merge request !2
Diffstat (limited to 'src/emap/status.h')
-rw-r--r--src/emap/status.h32
1 files changed, 31 insertions, 1 deletions
diff --git a/src/emap/status.h b/src/emap/status.h
index 62bbec7..8ad69ed 100644
--- a/src/emap/status.h
+++ b/src/emap/status.h
@@ -4,7 +4,15 @@
#ifndef EVOL_MAP_STATUS
#define EVOL_MAP_STATUS
-void status_init(void);
+typedef enum esc_type {
+ SC_PHYSICAL_SHIELD = 642,
+} esc_type;
+
+enum esi_type {
+ SI_PHYSICAL_SHIELD = 966,
+};
+
+int estatus_init_post(int retVal, bool minimal);
void estatus_set_viewdata_pre(struct block_list **blPtr,
int *classPtr_ __attribute__ ((unused)));
void estatus_set_viewdata_post(struct block_list *bl,
@@ -22,4 +30,26 @@ unsigned short estatus_calc_speed_post(unsigned short retVal,
struct status_change *sc,
int speed);
+defType estatus_calc_def_post(defType retVal,
+ struct block_list *bl,
+ struct status_change *sc,
+ int def, bool viewable);
+
+short estatus_calc_fix_aspd_post(short retVal,
+ struct block_list *bl,
+ struct status_change *sc,
+ int aspd);
+
+int estatus_change_start_post(int retVal,
+ struct block_list *src,
+ struct block_list *bl,
+ enum sc_type type,
+ int rate, int val1, int val2,
+ int val3, int val4, int tick, int flag);
+
+int estatus_change_end__post(int retVal,
+ struct block_list* bl,
+ enum sc_type type, int tid,
+ const char* file, int line);
+
#endif // EVOL_MAP_STATUS