From 9264347698a26f253b2428b9e785aaa8dbfc0dd2 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 25 Aug 2023 10:18:17 -0400 Subject: [PATCH] Minions inherit enemy/notenemy from captain. --- src/engine/objects/Mob.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 51d3d4ae..b2548824 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -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();