From 095aee57bc581c6abb749be76b6baac983457cbc Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 2 Mar 2023 21:51:31 -0600 Subject: [PATCH] mob spell casting cleanup --- src/engine/ai/MobileFSM.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/ai/MobileFSM.java b/src/engine/ai/MobileFSM.java index b827ffd5..731369e8 100644 --- a/src/engine/ai/MobileFSM.java +++ b/src/engine/ai/MobileFSM.java @@ -1679,7 +1679,7 @@ public class MobileFSM { powerRank = entry.getValue(); PowersBase mobPower = PowersManager.getPowerByToken(powerToken); if (CombatUtilities.inRange2D(mob, mob.getCombatTarget(), mobPower.getRange())) { - //PowersManager.useMobPower(mob,(AbstractCharacter)mob.getCombatTarget(),mobPower,powerRank); + PowersManager.useMobPower(mob,(AbstractCharacter)mob.getCombatTarget(),mobPower,powerRank); PerformActionMsg msg = new PerformActionMsg(); if(mobPower.isHarmful() == false || mobPower.targetSelf == true){ msg = PowersManager.createPowerMsg(mobPower, powerRank, mob, mob);