Skip to content

Commit

Permalink
Force respawn MissionMaster on Tower/Keep take
Browse files Browse the repository at this point in the history
  • Loading branch information
NetDwarf committed Oct 1, 2022
1 parent 225e372 commit a875db7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions GameServer/keeps/AbstractGameKeep.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1101,6 +1101,16 @@ public virtual void Reset(eRealm realm)
{
guard.RefreshTemplate();
}
else if (guard is MissionMaster)
{
if(!guard.IsAlive)
{
guard.StopRespawn();
guard.AddToWorld();
guard.Health = guard.MaxHealth;
}
guard.RefreshTemplate();
}
else if (guard is GuardLord == false)
{
guard.Die(guard);
Expand Down

0 comments on commit a875db7

Please sign in to comment.