wall archers given BehaviourType in initializeMob
This commit is contained in:
1 parent
eee949de93
commit
7ed0b8a052
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user