summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-17 03:48:34 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-17 03:48:34 +0000
commit1734f784db7873fa98c634c189fd0b2a637e70da (patch)
treeaabb5e893faec350e79f8c06c370c4f7f1d2273e /src
parent21972c59a642af7d67eece67457e62ffaa1270ba (diff)
downloadhercules-1734f784db7873fa98c634c189fd0b2a637e70da.tar.gz
hercules-1734f784db7873fa98c634c189fd0b2a637e70da.tar.bz2
hercules-1734f784db7873fa98c634c189fd0b2a637e70da.tar.xz
hercules-1734f784db7873fa98c634c189fd0b2a637e70da.zip
Eska MDEF effect fixed; changed from hardMDEF to softMDEF, bugreport:4673
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15141 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 17df3251a..db89d6249 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4205,8 +4205,6 @@ static signed short status_calc_def2(struct block_list *bl, struct status_change
return 100;
if(sc->data[SC_STEELBODY])
return 90;
- if(sc->data[SC_SKA])
- return 90;
if(sc->data[SC_ARMORCHANGE])
mdef += sc->data[SC_ARMORCHANGE]->val3;
if(sc->data[SC_STONE] && sc->opt1 == OPT1_STONE)
@@ -4242,6 +4240,8 @@ static signed short status_calc_mdef2(struct block_list *bl, struct status_chang
if(sc->data[SC_BERSERK])
return 0;
+ if(sc->data[SC_SKA])
+ return 90;
if(sc->data[SC_MINDBREAKER])
mdef2 -= mdef2 * sc->data[SC_MINDBREAKER]->val3/100;
if(sc->data[SC_ANALYZE])