summaryrefslogtreecommitdiff
path: root/src/map/status.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-07-27 10:39:40 +0200
committerGitHub <noreply@github.com>2017-07-27 10:39:40 +0200
commitb04ce31b952c75d5206fbfec68f2a2712da833c3 (patch)
tree9031210c2158e437dec26b26f1135934fe692dbf /src/map/status.h
parent45d2d465591d89d927aadf398cdb6166afe9cd9a (diff)
parent08121dbcef6b6a70e39ba6c5391d605d1f3e3944 (diff)
downloadhercules-b04ce31b952c75d5206fbfec68f2a2712da833c3.tar.gz
hercules-b04ce31b952c75d5206fbfec68f2a2712da833c3.tar.bz2
hercules-b04ce31b952c75d5206fbfec68f2a2712da833c3.tar.xz
hercules-b04ce31b952c75d5206fbfec68f2a2712da833c3.zip
Merge pull request #1811 from 4144/refactor
Refactor status_change_start and fix some issues in other code
Diffstat (limited to 'src/map/status.h')
-rw-r--r--src/map/status.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/status.h b/src/map/status.h
index de21fa16c..3c0a87175 100644
--- a/src/map/status.h
+++ b/src/map/status.h
@@ -2331,6 +2331,14 @@ struct status_interface {
int (*get_sc_def) (struct block_list *src, struct block_list *bl, enum sc_type type, int rate, int tick, int flag);
int (*change_start) (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 (*change_end_) (struct block_list* bl, enum sc_type type, int tid, const char* file, int line);
+ bool (*is_immune_to_status) (struct status_change* sc, enum sc_type type);
+ bool (*is_boss_resist_sc) (enum sc_type type);
+ bool (*end_sc_before_start) (struct block_list *bl, struct status_data *st, struct status_change* sc, enum sc_type type, int undead_flag, int val1, int val2, int val3, int val4);
+ void (*change_start_stop_action) (struct block_list *bl, enum sc_type type);
+ int (*change_start_set_option) (struct block_list *bl, struct status_change* sc, enum sc_type type, int val1, int val2, int val3, int val4);
+ int (*get_val_flag) (enum sc_type type);
+ void (*change_start_display) (struct map_session_data *sd, enum sc_type type, int val1, int val2, int val3, int val4);
+ bool (*change_start_unknown_sc) (struct block_list *src, struct block_list *bl, enum sc_type type, int calc_flag, int rate, int val1, int val2, int val3, int val4, int tick, int flag);
int (*kaahi_heal_timer) (int tid, int64 tick, int id, intptr_t data);
int (*change_timer) (int tid, int64 tick, int id, intptr_t data);
int (*change_timer_sub) (struct block_list* bl, va_list ap);