forked from MagicBane/Server
Outlaws added to aiinfo.
This commit is contained in:
@@ -138,6 +138,19 @@ public class aiInfoCmd extends AbstractDevCmd {
|
|||||||
for (RunePowerEntry runePowerEntry : powerEntries)
|
for (RunePowerEntry runePowerEntry : powerEntries)
|
||||||
output += PowersManager.getPowerByToken(runePowerEntry.token).getName() + newline;
|
output += PowersManager.getPowerByToken(runePowerEntry.token).getName() + newline;
|
||||||
|
|
||||||
|
// List outlaws defined for this player guard's city
|
||||||
|
|
||||||
|
if (mob.isPlayerGuard()) {
|
||||||
|
|
||||||
|
ArrayList<Integer> outlaws = new ArrayList(mob.guardedCity.cityOutlaws);
|
||||||
|
|
||||||
|
if (outlaws.isEmpty() == false)
|
||||||
|
output += "Outlaws: " + newline;
|
||||||
|
|
||||||
|
for (Integer outlawUUID : outlaws)
|
||||||
|
output += outlawUUID + newline;
|
||||||
|
}
|
||||||
|
|
||||||
throwbackInfo(playerCharacter, output);
|
throwbackInfo(playerCharacter, output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user