Core/Battlegrounds: Strand of the Ancients Rework
Port From (https://github.com/TrinityCore/TrinityCore/commit/3d56cdc08413a0682299136a763e13e67d38818b)
This commit is contained in:
@@ -2631,7 +2631,7 @@ namespace Game.Spells
|
||||
{
|
||||
Battleground bg = player.GetBattleground();
|
||||
if (bg != null)
|
||||
bg.SetDroppedFlagGUID(go.GetGUID(), bg.GetPlayerTeam(player.GetGUID()) == Team.Alliance ? BatttleGroundTeamId.Horde : BatttleGroundTeamId.Alliance);
|
||||
bg.SetDroppedFlagGUID(go.GetGUID(), bg.GetPlayerTeam(player.GetGUID()) == Team.Alliance ? BattleGroundTeamId.Horde : BattleGroundTeamId.Alliance);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5044,9 +5044,9 @@ namespace Game.Entities
|
||||
// team that controls the workshop in the specified area
|
||||
uint team = bf.GetData(newArea);
|
||||
|
||||
if (team == BatttleGroundTeamId.Horde)
|
||||
if (team == BattleGroundTeamId.Horde)
|
||||
return spellId == 56618;
|
||||
else if (team == BatttleGroundTeamId.Alliance)
|
||||
else if (team == BattleGroundTeamId.Alliance)
|
||||
return spellId == 56617;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user