Browse Source

wall archers given BehaviourType in initializeMob

master
FatBoy-DOTC 2 years ago
parent
commit
7ed0b8a052
  1. 2
      src/engine/objects/Mob.java

2
src/engine/objects/Mob.java

@ -916,7 +916,7 @@ public class Mob extends AbstractIntelligenceAgent { @@ -916,7 +916,7 @@ public class Mob extends AbstractIntelligenceAgent {
this.charItemManager.load();
//load AI for general mobs.
if(this.contract != null && NPC.ISWallArcher(this.contract)) this.BehaviourType = MobBehaviourType.GuardWallArcher;
if (isPet || isSiege || (isGuard && this.contract == null)) this.currentID = (--Mob.staticID);
else this.currentID = this.dbID;

Loading…
Cancel
Save