From d409ef49af3737519176e4ad8d84929837d3361d Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 2 Sep 2023 15:44:42 -0400 Subject: [PATCH] Can cast added to aiinfo. --- src/engine/devcmd/cmds/aiInfoCmd.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/devcmd/cmds/aiInfoCmd.java b/src/engine/devcmd/cmds/aiInfoCmd.java index 3fae7a64..065e5f28 100644 --- a/src/engine/devcmd/cmds/aiInfoCmd.java +++ b/src/engine/devcmd/cmds/aiInfoCmd.java @@ -13,6 +13,7 @@ import engine.Enum; import engine.Enum.GameObjectType; import engine.devcmd.AbstractDevCmd; import engine.gameManager.PowersManager; +import engine.mobileAI.MobAI; import engine.objects.AbstractGameObject; import engine.objects.Mob; import engine.objects.PlayerCharacter; @@ -93,6 +94,7 @@ public class aiInfoCmd extends AbstractDevCmd { if (mob.guardedCity != null) output += "Patrolling: " + mob.guardedCity.getCityName() + newline; + output += "Can Cast: " + MobAI.canCast(mob) + newline; output += "Powers:" + newline; ArrayList powerEntries = new ArrayList<>(PowersManager.getPowersForRune(mob.getMobBaseID()));