Browse Source

epic encounter after clearing a stronghold

lakebane-strongholds
FatBoy-DOTC 4 months ago
parent
commit
3230cd53e1
  1. 12
      src/engine/objects/Mob.java

12
src/engine/objects/Mob.java

@ -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

Loading…
Cancel
Save