From b363ed9b38839f8c506ba7b1425d1acd483c9ddc Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 19 Oct 2020 21:21:24 -0300 Subject: Temporaly comment this script code so server doesn't crash --- src/emap/battle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emap/battle.c b/src/emap/battle.c index 3889c18..059ec6b 100644 --- a/src/emap/battle.c +++ b/src/emap/battle.c @@ -105,9 +105,11 @@ struct Damage ebattle_calc_weapon_attack_post(struct Damage retVal, // These regular attacks are still subject to regular DEF/Evade/etc. // And base attack bonus might still be gained from STR instead of INT. // TODO: Move this to a pre-hook to avoid extra calculation + /* FIXME - Uncomment & Deploy after fixing infinite loop if (!skill_id && (sd->weapontype == W_STAFF || sd->weapontype == W_BOOK)) { retVal=battle->calc_magic_attack(src, target, skill_id, skill_lv, wflag); } + */ struct mob_data *md = BL_CAST(BL_MOB, target); if (md == NULL) -- cgit v1.2.3-60-g2f50