Messed up the commit history, so here is all the files rip, Credit to TrinityCore

This commit is contained in:
hondacrx
2023-09-16 08:42:35 -04:00
parent 87284bbded
commit f636ea225f
373 changed files with 158910 additions and 2170 deletions
+2 -2
View File
@@ -354,7 +354,7 @@ namespace Game.BattleGrounds
{
Player player = Global.ObjAccessor.FindPlayer(guid);
if (player != null)
player.AtStartOfEncounter();
player.AtStartOfEncounter(EncounterType.Battleground);
}
// Remove preparation
@@ -805,7 +805,7 @@ namespace Game.BattleGrounds
player.RemoveAura(BattlegroundConst.SpellMercenaryShapeshift);
player.RemovePlayerFlagEx(PlayerFlagsEx.MercenaryMode);
player.AtEndOfEncounter();
player.AtEndOfEncounter(EncounterType.Battleground);
player.RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags2.LeaveArenaOrBattleground);