summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2014-12-28 16:49:37 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2014-12-28 16:49:37 +0800
commitda6a2bb9f242101dcb1e2addd130ac879a63bc67 (patch)
treee7dfa8183425fdd27c7d7be2486363587b8826fb
parentd0d09ad3afb792f1363ac9f24086c99d6e67b94a (diff)
downloadhercules-da6a2bb9f242101dcb1e2addd130ac879a63bc67.tar.gz
hercules-da6a2bb9f242101dcb1e2addd130ac879a63bc67.tar.bz2
hercules-da6a2bb9f242101dcb1e2addd130ac879a63bc67.tar.xz
hercules-da6a2bb9f242101dcb1e2addd130ac879a63bc67.zip
Follow up@990c25267aeefe4d792bf941a366a6603afcb42b
-sorry PRE-RE users I always forget about you..:D Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
-rw-r--r--src/map/battle.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 77edb31f1..ddad2c705 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -4239,10 +4239,10 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list
case HW_MAGICCRASHER:
case NJ_SYURIKEN:
case GS_MAGICALBULLET:
-#endif
case KO_BAKURETSU:
flag.tdef = 1;
break;
+#endif
}
} else //Range for normal attacks.
wd.flag |= flag.arrow?BF_LONG:BF_SHORT;
@@ -4769,7 +4769,9 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list
case KO_BAKURETSU:
{
+#ifdef RENEWAL
GET_NORMAL_ATTACK((sc && sc->data[SC_MAXIMIZEPOWER] ? 1 : 0) | (sc && sc->data[SC_WEAPONPERFECT] ? 8 : 0));
+#endif
skillratio = skill_lv * (50 + status_get_dex(src) / 4);
skillratio = (int)(skillratio * (sd ? pc->checkskill(sd, NJ_TOBIDOUGU) : 10) * 40.f / 100.0f * status->get_lv(src) / 120);
ATK_RATE(skillratio + 10 * (sd ? sd->status.job_level : 0));