forked from MagicBane/Server
wall archers given BehaviourType in initializeMob
This commit is contained in:
@@ -916,7 +916,7 @@ public class Mob extends AbstractIntelligenceAgent {
|
|||||||
this.charItemManager.load();
|
this.charItemManager.load();
|
||||||
|
|
||||||
//load AI for general mobs.
|
//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);
|
if (isPet || isSiege || (isGuard && this.contract == null)) this.currentID = (--Mob.staticID);
|
||||||
else this.currentID = this.dbID;
|
else this.currentID = this.dbID;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user