From 85cc34fb4cc8820c77d9e096f8996b1cb6c808da Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 25 Aug 2023 16:57:25 -0400 Subject: [PATCH] AIinfo updated. --- src/engine/devcmd/cmds/aiInfoCmd.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/engine/devcmd/cmds/aiInfoCmd.java b/src/engine/devcmd/cmds/aiInfoCmd.java index 695b24dc..7d8c6785 100644 --- a/src/engine/devcmd/cmds/aiInfoCmd.java +++ b/src/engine/devcmd/cmds/aiInfoCmd.java @@ -11,6 +11,7 @@ package engine.devcmd.cmds; import engine.Enum.GameObjectType; import engine.devcmd.AbstractDevCmd; +import engine.gameManager.PowersManager; import engine.objects.AbstractGameObject; import engine.objects.Mob; import engine.objects.PlayerCharacter; @@ -85,10 +86,12 @@ public class aiInfoCmd extends AbstractDevCmd { output += "Current Target: NULL" + newline; if (mob.guardedCity != null) - output += mob.guardedCity.getCityName() + newline; + output += "Patrolling: " + mob.guardedCity.getCityName() + newline; + + output += "Powers:" + newline; for (int token : mob.mobPowers.keySet()) - output += token + newline; + output += PowersManager.getPowerByToken(token).getName() + newline; throwbackInfo(playerCharacter, output); }