Browse Source

Siege engine agent type set properly.

feature-workorder
MagicBot 1 year ago
parent
commit
7fc0d27c3c
  1. 4
      src/engine/objects/Mob.java

4
src/engine/objects/Mob.java

@ -510,7 +510,6 @@ public class Mob extends AbstractIntelligenceAgent { @@ -510,7 +510,6 @@ public class Mob extends AbstractIntelligenceAgent {
siegeMinion.guardCaptain = artyCaptain;
siegeMinion.parentZoneUUID = artyCaptain.parentZoneUUID;
siegeMinion.behaviourType = MobBehaviourType.SiegeEngine;
siegeMinion.agentType = AIAgentType.SIEGEENGINE;
siegeMinion.bindLoc = Vector3fImmutable.ZERO;
siegeMinion.spawnTime = (60 * 15);
@ -1556,6 +1555,9 @@ public class Mob extends AbstractIntelligenceAgent { @@ -1556,6 +1555,9 @@ public class Mob extends AbstractIntelligenceAgent {
case Pet1:
this.agentType = AIAgentType.PET;
break;
case SiegeEngine:
this.agentType = AIAgentType.SIEGEENGINE;
break;
}
}

Loading…
Cancel
Save