Browse Source

Siege engines use slot system.

combat-2
MagicBot 1 year ago
parent
commit
316bd6dd01
  1. 2
      src/engine/objects/Mob.java

2
src/engine/objects/Mob.java

@ -1731,7 +1731,7 @@ public class Mob extends AbstractIntelligenceAgent { @@ -1731,7 +1731,7 @@ public class Mob extends AbstractIntelligenceAgent {
// with the exceptions being mobiles
// with a contract.
if (this.contract != null)
if (this.contract != null || this.behaviourType.equals(MobBehaviourType.SiegeEngine))
NPCManager.slotCharacterInBuilding(this);
else
this.bindLoc = building.getLoc().add(bindLoc);

Loading…
Cancel
Save