summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-26 04:35:59 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-26 04:35:59 +0000
commit50715abfe4c446f359ff9d38345b1cd16c5853af (patch)
treea3460a864267586dca8241f1762615968f9893e3 /src
parentab496b0cbd29b7cc21002849b9ce43de674801ed (diff)
downloadhercules-50715abfe4c446f359ff9d38345b1cd16c5853af.tar.gz
hercules-50715abfe4c446f359ff9d38345b1cd16c5853af.tar.bz2
hercules-50715abfe4c446f359ff9d38345b1cd16c5853af.tar.xz
hercules-50715abfe4c446f359ff9d38345b1cd16c5853af.zip
Fixed bugreport:6500 where SC_WEAKNESS doesn't ignore Chemical Protection effect and MADO.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16707 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/status.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index a6702080f..98fc82206 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -7985,7 +7985,9 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
case SC__WEAKNESS:
val2 = 10 * val1;
val_flag |= 1|2;
- skill_strip_equip(bl,EQP_WEAPON|EQP_SHIELD,100,val1,tick);
+ // bypasses coating protection and MADO
+ sc_start(bl,SC_STRIPWEAPON,100,val1,tick);
+ sc_start(bl,SC_STRIPSHIELD,100,val1,tick);
break;
case SC__BLOODYLUST:
val_flag |= 1|2;