summaryrefslogtreecommitdiff
path: root/src/map/status.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-26 21:18:30 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-27 01:25:16 +0300
commit54f7e2da361a9a00f7567f1def870960cca7b195 (patch)
treeb31fefe128717b881e7070693a8127ca3eaeb59a /src/map/status.h
parent45d2d465591d89d927aadf398cdb6166afe9cd9a (diff)
downloadhercules-54f7e2da361a9a00f7567f1def870960cca7b195.tar.gz
hercules-54f7e2da361a9a00f7567f1def870960cca7b195.tar.bz2
hercules-54f7e2da361a9a00f7567f1def870960cca7b195.tar.xz
hercules-54f7e2da361a9a00f7567f1def870960cca7b195.zip
Move some immune/resists checks from status_change_start into separate functions.
Diffstat (limited to 'src/map/status.h')
-rw-r--r--src/map/status.h2
1 files changed, 2 insertions, 0 deletions
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);