guard work
This commit is contained in:
@@ -385,12 +385,13 @@ public class MobileFSM {
|
||||
mob.updateLocation();
|
||||
if (mob.BehaviourType != Enum.MobBehaviourType.Pet1) {
|
||||
if (mob.getCombatTarget() == null) {
|
||||
if (mob.BehaviourType.ordinal() == Enum.MobBehaviourType.GuardMinion.ordinal())
|
||||
return;
|
||||
|
||||
if (mob.BehaviourType.ordinal() == Enum.MobBehaviourType.GuardMinion.ordinal()) {
|
||||
if (mob.npcOwner.isAlive() == true) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
Patrol(mob);
|
||||
}
|
||||
else {
|
||||
}else {
|
||||
chaseTarget(mob);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user