epic encounter after clearing a stronghold

This commit is contained in:
2024-07-09 20:28:56 -05:00
parent 3230cd53e1
commit fb0790a733
3 changed files with 8 additions and 12 deletions
+6 -6
View File
@@ -1229,6 +1229,12 @@ public class Mob extends AbstractIntelligenceAgent {
@Override
public void killCharacter(AbstractCharacter attacker) {
if(this.StrongholdGuardian || this.StrongholdCommander) {
ChatManager.chatSystemChannel(this.parentZone.getParent().getName() + "'s Stronghold Is Under Attack!");
StrongholdManager.CheckToEndStronghold(this.stronghold);
}
if(this.StrongholdEpic)
StrongholdManager.EndStronghold(this.stronghold);
this.stopMovement(this.getMovementLoc());
@@ -1423,12 +1429,6 @@ public class Mob extends AbstractIntelligenceAgent {
WorldGrid.RemoveWorldObject(this);
this.charItemManager.clearInventory();
if(this.StrongholdGuardian || this.StrongholdCommander) {
ChatManager.chatSystemChannel(this.parentZone.getParent().getName() + "'s Stronghold Is Under Attack!");
StrongholdManager.CheckToEndStronghold(this.stronghold);
}
if(this.StrongholdEpic)
StrongholdManager.EndStronghold(this.stronghold);
}
@Override