minion relatiate handled inside retaliate function
This commit is contained in:
1 parent
29e8cdf699
commit
4318849127
2 files changed
+30
-26
No files matched your search
@@ -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