diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-10 01:06:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-10 01:06:07 +0300 |
commit | 21a887bd807e1ef727279e6a84faf3f83997c8ad (patch) | |
tree | 76352aea1b772abd03f804f97883842ef5a2a8ad /src | |
parent | 47aa7431432a2d9a41b949af5c2d4d7ab4db3461 (diff) | |
download | plugin-21a887bd807e1ef727279e6a84faf3f83997c8ad.tar.gz plugin-21a887bd807e1ef727279e6a84faf3f83997c8ad.tar.bz2 plugin-21a887bd807e1ef727279e6a84faf3f83997c8ad.tar.xz plugin-21a887bd807e1ef727279e6a84faf3f83997c8ad.zip |
Dont send additional effects on SC_PHYSICAL_SHIELD changes.s20160719
Diffstat (limited to 'src')
-rw-r--r-- | src/emap/status.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/emap/status.c b/src/emap/status.c index 99408b8..ee45ab2 100644 --- a/src/emap/status.c +++ b/src/emap/status.c @@ -200,7 +200,7 @@ short estatus_calc_fix_aspd_post(short retVal, int estatus_change_start_post(int retVal, struct block_list *src __attribute__ ((unused)), struct block_list *bl __attribute__ ((unused)), - enum sc_type type, + enum sc_type type __attribute__ ((unused)), int rate __attribute__ ((unused)), int val1 __attribute__ ((unused)), int val2 __attribute__ ((unused)), @@ -212,20 +212,19 @@ int estatus_change_start_post(int retVal, if (!retVal) return retVal; +/* switch ((esc_type)type) { - case SC_PHYSICAL_SHIELD: - clif->misceffect(bl, EFFECT_MAGIC_SHIELD); - break; default: break; } +*/ return retVal; } int estatus_change_end__post(int retVal, struct block_list* bl __attribute__ ((unused)), - enum sc_type type, + enum sc_type type __attribute__ ((unused)), int tid __attribute__ ((unused)), const char* file __attribute__ ((unused)), int line __attribute__ ((unused))) @@ -233,13 +232,12 @@ int estatus_change_end__post(int retVal, if (!retVal) return retVal; +/* switch ((esc_type)type) { - case SC_PHYSICAL_SHIELD: - clif->misceffect(bl, EFFECT_MAGIC_SHIELD_ENDS); - break; default: break; } +*/ return retVal; } |