Scripts/BlackrockDepths: In the Lyceum both braziers have to be used in order to open both doors. (#30731)

* 1st

* write less, do none

* Update blackrock_depths.cpp

(cherry picked from commit 91473e7f5cd0e09b2788dabcc7740f5480aed484)
This commit is contained in:
CraftedRO
2026-06-08 18:50:25 +02:00
committed by Shauren
parent 6104de265c
commit 8f2bf6472d
@@ -46,11 +46,12 @@ class go_shadowforge_brazier : public GameObjectScript
instance->SetData(TYPE_LYCEUM, DONE);
else
instance->SetData(TYPE_LYCEUM, IN_PROGRESS);
// If used brazier open linked doors (North or South)
if (me->GetGUID() == instance->GetGuidData(DATA_SF_BRAZIER_N))
// If used both braziers, open linked doors (North and South)
if (instance->GetData(TYPE_LYCEUM) == DONE)
{
instance->HandleGameObject(instance->GetGuidData(DATA_GOLEM_DOOR_N), true);
else if (me->GetGUID() == instance->GetGuidData(DATA_SF_BRAZIER_S))
instance->HandleGameObject(instance->GetGuidData(DATA_GOLEM_DOOR_S), true);
}
return false;
}