Browse Source

Outlaw moved before guild check.

feature-workorder
MagicBot 1 year ago
parent
commit
bdf6500260
  1. 6
      src/engine/mobileAI/MobAI.java

6
src/engine/mobileAI/MobAI.java

@ -1136,12 +1136,12 @@ public class MobAI {
try { try {
if (mob.getGuild().getNation().equals(target.getGuild().getNation()))
return false;
if (mob.guardedCity.cityOutlaws.contains(target.getObjectUUID()) == true) if (mob.guardedCity.cityOutlaws.contains(target.getObjectUUID()) == true)
return true; return true;
if (mob.getGuild().getNation().equals(target.getGuild().getNation()))
return false;
//first check condemn list for aggro allowed (allies button is checked) //first check condemn list for aggro allowed (allies button is checked)
if (ZoneManager.getCityAtLocation(mob.getLoc()).getTOL().reverseKOS) { if (ZoneManager.getCityAtLocation(mob.getLoc()).getTOL().reverseKOS) {

Loading…
Cancel
Save