forked from MagicBane/Server
minion relatiate handled inside retaliate function
This commit is contained in:
@@ -1121,10 +1121,6 @@ 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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user