forked from MagicBane/Server
Outlaw moved before guild check.
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user