summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorinhyositsu <inhyositsu@gmail.com>2016-05-27 17:41:39 +0800
committerinhyositsu <inhyositsu@gmail.com>2016-05-27 17:41:39 +0800
commit516475153e09e71b51392515539bf60dca06fd92 (patch)
tree3db7512ad90912f73989e7e537f402279687b43b /src/map/battle.c
parent301c6661e433609de5eb62a3536d1e8f33fefb3c (diff)
downloadhercules-516475153e09e71b51392515539bf60dca06fd92.tar.gz
hercules-516475153e09e71b51392515539bf60dca06fd92.tar.bz2
hercules-516475153e09e71b51392515539bf60dca06fd92.tar.xz
hercules-516475153e09e71b51392515539bf60dca06fd92.zip
Fix SC_TELEKINESIS_INTENSE to add percent MATK instead of fixed MATK
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 97cc31745..5ca54bf82 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3680,7 +3680,7 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
if (sc){
if( sc->data[SC_TELEKINESIS_INTENSE] && s_ele == ELE_GHOST )
- ad.damage += sc->data[SC_TELEKINESIS_INTENSE]->val3;
+ ad.damage += ad.damage * sc->data[SC_TELEKINESIS_INTENSE]->val3 / 100;
}
switch(skill_id){
case MG_FIREBOLT: