forked from MagicBane/Server
attacking guard minion will no longer be ignored
This commit is contained in:
@@ -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<String, JobContainer> getTimers() {
|
||||
|
||||
Reference in New Issue
Block a user