summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-10 01:06:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-10 01:06:07 +0300
commit21a887bd807e1ef727279e6a84faf3f83997c8ad (patch)
tree76352aea1b772abd03f804f97883842ef5a2a8ad
parent47aa7431432a2d9a41b949af5c2d4d7ab4db3461 (diff)
downloadevol-hercules-21a887bd807e1ef727279e6a84faf3f83997c8ad.tar.gz
evol-hercules-21a887bd807e1ef727279e6a84faf3f83997c8ad.tar.bz2
evol-hercules-21a887bd807e1ef727279e6a84faf3f83997c8ad.tar.xz
evol-hercules-21a887bd807e1ef727279e6a84faf3f83997c8ad.zip
Dont send additional effects on SC_PHYSICAL_SHIELD changes.s20160719
-rw-r--r--src/emap/status.c14
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;
}