Browse Source

aiInfo display hate value

master
FatBoy-DOTC 1 year ago
parent
commit
49c403bacc
  1. 2
      src/engine/devcmd/cmds/aiInfoCmd.java

2
src/engine/devcmd/cmds/aiInfoCmd.java

@ -77,7 +77,7 @@ public class aiInfoCmd extends AbstractDevCmd {
output += "Players Loaded:" + newline; output += "Players Loaded:" + newline;
} }
for (Map.Entry<Integer, Boolean> entry : mob.playerAgroMap.entrySet()) { for (Map.Entry<Integer, Boolean> entry : mob.playerAgroMap.entrySet()) {
output += "Player ID: " + entry.getKey() + " Is Safemode: " + entry.getValue() + newline; output += "Player ID: " + entry.getKey() + " Hate Value: " + ((PlayerCharacter) mob.getCombatTarget()).getHateValue() + newline;
} }
if (mob.getCombatTarget() != null) if (mob.getCombatTarget() != null)
output += "Current Target: " + mob.getCombatTarget().getName() + newline; output += "Current Target: " + mob.getCombatTarget().getName() + newline;

Loading…
Cancel
Save