epic encounter after clearing a stronghold

This commit is contained in:
2024-07-09 20:10:58 -05:00
parent edbce067b8
commit 3230cd53e1
+6 -6
View File
@@ -1295,12 +1295,6 @@ public class Mob extends AbstractIntelligenceAgent {
Dispatch dispatch; Dispatch dispatch;
try { try {
if(this.StrongholdGuardian || this.StrongholdCommander) {
ChatManager.chatSystemChannel(this.parentZone.getName() + "'s Stronghold Is Under Attack!");
StrongholdManager.CheckToEndStronghold(this.stronghold);
}
if(this.StrongholdEpic)
StrongholdManager.EndStronghold(this.stronghold);
//resync corpses //resync corpses
//this.setLoc(this.getMovementLoc()); //this.setLoc(this.getMovementLoc());
if (this.isSiege) { if (this.isSiege) {
@@ -1429,6 +1423,12 @@ public class Mob extends AbstractIntelligenceAgent {
WorldGrid.RemoveWorldObject(this); WorldGrid.RemoveWorldObject(this);
this.charItemManager.clearInventory(); 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 @Override