diff options
author | shennetsind <ind@henn.et> | 2014-02-14 01:20:42 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-02-14 01:20:42 -0200 |
commit | df611eb4055fb8478be277243d0734af66173d99 (patch) | |
tree | d9679e1e9e174af8c4157e316e77adff5a752952 /src/map/status.h | |
parent | 6f264513874c80b912f47dbad1ec0347c67534e7 (diff) | |
download | hercules-df611eb4055fb8478be277243d0734af66173d99.tar.gz hercules-df611eb4055fb8478be277243d0734af66173d99.tar.bz2 hercules-df611eb4055fb8478be277243d0734af66173d99.tar.xz hercules-df611eb4055fb8478be277243d0734af66173d99.zip |
sc sources
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/status.h')
-rw-r--r-- | src/map/status.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/status.h b/src/map/status.h index 87387fe2b..06bea3908 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -1836,9 +1836,9 @@ struct status_change { #define status_get_mode(bl) (status->get_status_data(bl)->mode) //Short version, receives rate in 1->100 range, and does not uses a flag setting. -#define sc_start(bl, type, rate, val1, tick) (status->change_start((bl),(type),100*(rate),(val1),0,0,0,(tick),0)) -#define sc_start2(bl, type, rate, val1, val2, tick) (status->change_start((bl),(type),100*(rate),(val1),(val2),0,0,(tick),0)) -#define sc_start4(bl, type, rate, val1, val2, val3, val4, tick) (status->change_start((bl),(type),100*(rate),(val1),(val2),(val3),(val4),(tick),0)) +#define sc_start(src, bl, type, rate, val1, tick) (status->change_start((src),(bl),(type),100*(rate),(val1),0,0,0,(tick),0)) +#define sc_start2(src, bl, type, rate, val1, val2, tick) (status->change_start((src),(bl),(type),100*(rate),(val1),(val2),0,0,(tick),0)) +#define sc_start4(src, bl, type, rate, val1, val2, val3, val4, tick) (status->change_start((src),(bl),(type),100*(rate),(val1),(val2),(val3),(val4),(tick),0)) #define status_change_end(bl,type,tid) (status->change_end_((bl),(type),(tid),__FILE__,__LINE__)) @@ -1936,8 +1936,8 @@ struct status_interface { struct status_change * (*get_sc) (struct block_list *bl); int (*isdead) (struct block_list *bl); int (*isimmune) (struct block_list *bl); - int (*get_sc_def) (struct block_list *bl, enum sc_type type, int rate, int tick, int flag); - int (*change_start) (struct block_list* bl,enum sc_type type,int rate,int val1,int val2,int val3,int val4,int tick,int flag); + 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); 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); |