Core/Battlegrounds: Rework Alterac Valley (#29530)

This commit is contained in:
Jeremy
2024-01-01 23:33:25 +01:00
committed by GitHub
parent 9e22f4fa53
commit 6db980b69e
5 changed files with 4309 additions and 2340 deletions

View File

@@ -1580,8 +1580,8 @@ void Spell::EffectOpenLock()
return;
// Arathi Basin banner opening. /// @todo Verify correctness of this check
if ((goInfo->type == GAMEOBJECT_TYPE_BUTTON && goInfo->button.noDamageImmune) ||
(goInfo->type == GAMEOBJECT_TYPE_GOOBER && goInfo->goober.requireLOS))
if (gameObjTarget->GetMapId() != 30 && ((goInfo->type == GAMEOBJECT_TYPE_BUTTON && goInfo->button.noDamageImmune) ||
(goInfo->type == GAMEOBJECT_TYPE_GOOBER && goInfo->goober.requireLOS)))
{
//CanUseBattlegroundObject() already called in CheckCast()
// in battleground check