Outlaw moved before guild check.

This commit is contained in:
2023-09-07 14:14:21 -04:00
parent db4eb0579e
commit bdf6500260
+3 -3
View File
@@ -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) {