diff --git a/src/engine/objects/AbstractCharacter.java b/src/engine/objects/AbstractCharacter.java index 84c5b784..604b112c 100644 --- a/src/engine/objects/AbstractCharacter.java +++ b/src/engine/objects/AbstractCharacter.java @@ -1121,7 +1121,14 @@ public abstract class AbstractCharacter extends AbstractWorldObject { } } } + //handle minion informing his captain of the attack + if(this.getObjectType().equals(GameObjectType.Mob) && ((Mob)this).agentType.equals(AIAgentType.GUARDMINION)) + if(((Mob)this).guardCaptain.combatTarget == null) + ((Mob)this).guardCaptain.combatTarget = value; + this.combatTarget = value; + + } public final ConcurrentHashMap getTimers() {