summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battle.c')
-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));