Separate pet and siege behaviour types.

This commit is contained in:
2023-08-25 11:26:09 -04:00
parent 9264347698
commit 22e4cc07c0
3 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -164,7 +164,7 @@ public class Mob extends AbstractIntelligenceAgent {
this.parentZone = parent;
this.parentZoneID = (parent != null) ? parent.getObjectUUID() : 0;
this.ownerUID = owner.getObjectUUID();
this.BehaviourType = Enum.MobBehaviourType.Pet1;
this.BehaviourType = Enum.MobBehaviourType.Pet;
clearStatic();
}
@@ -811,7 +811,7 @@ public class Mob extends AbstractIntelligenceAgent {
owner.getSiegeMinionMap().put(mob, slot);
mob.setNpcOwner(owner);
mob.BehaviourType = MobBehaviourType.Pet1;
mob.BehaviourType = MobBehaviourType.Pet;
mob.BehaviourType.canRoam = false;
return mob;
}