Browse Source

Minions inherit enemy/notenemy from captain.

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

3
src/engine/objects/Mob.java

@ -690,6 +690,9 @@ public class Mob extends AbstractIntelligenceAgent { @@ -690,6 +690,9 @@ public class Mob extends AbstractIntelligenceAgent {
if (guardCaptain.equipmentSetID != 0)
mob.equipmentSetID = guardCaptain.equipmentSetID;
mob.enemy = guardCaptain.enemy;
mob.notEnemy = guardCaptain.notEnemy;
mob.runAfterLoad();
mob.despawned = true;
mob.despawn();

Loading…
Cancel
Save