From ff678a2bc1f17d5f7faa8744c2c628b1f2b96a1e Mon Sep 17 00:00:00 2001 From: Joseph Botosh Date: Sun, 3 Jul 2016 19:55:49 +0300 Subject: add Physical Shield Skill (id 20001) --- src/emap/status.h | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'src/emap/status.h') 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 -- cgit v1.2.3-60-g2f50