summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-10-19 21:21:24 -0300
committerJesusaves <cpntb1@ymail.com>2020-10-19 21:21:24 -0300
commitb363ed9b38839f8c506ba7b1425d1acd483c9ddc (patch)
tree3d21bc5c495e4fcc971b1e2383f3c637157d1f94
parent64544982eaf64b83c9d8bdbb4b519505d541aec9 (diff)
downloadevol-hercules-b363ed9b38839f8c506ba7b1425d1acd483c9ddc.tar.gz
evol-hercules-b363ed9b38839f8c506ba7b1425d1acd483c9ddc.tar.bz2
evol-hercules-b363ed9b38839f8c506ba7b1425d1acd483c9ddc.tar.xz
evol-hercules-b363ed9b38839f8c506ba7b1425d1acd483c9ddc.zip
Temporaly comment this script code so server doesn't crash
-rw-r--r--src/emap/battle.c2
1 files changed, 2 insertions, 0 deletions
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)