mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-19 08:30:34 +01:00
Scripts/Shadowfang Keep: Check boss state and door state before opening Arugal door (#30891)
This commit is contained in:
@@ -174,7 +174,11 @@ public:
|
||||
break;
|
||||
case TYPE_NANDOS:
|
||||
if (data == DONE)
|
||||
DoUseDoorOrButton(DoorArugalGUID);
|
||||
{
|
||||
if (GameObject* go = instance->GetGameObject(DoorArugalGUID))
|
||||
if (go->GetGoState() == GO_STATE_READY)
|
||||
DoUseDoorOrButton(DoorArugalGUID);
|
||||
}
|
||||
m_auiEncounter[3] = data;
|
||||
break;
|
||||
case DATA_SPAWN_VALENTINE_ADDS:
|
||||
|
||||
Reference in New Issue
Block a user