From 54f7e2da361a9a00f7567f1def870960cca7b195 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 26 Jul 2017 21:18:30 +0300 Subject: Move some immune/resists checks from status_change_start into separate functions. --- src/map/status.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/status.h') diff --git a/src/map/status.h b/src/map/status.h index de21fa16c..06bd963dc 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -2331,6 +2331,8 @@ 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); 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); -- cgit v1.2.3-70-g09d2