Skip to content

Commit 91473e7

Browse files
authored
Scripts/BlackrockDepths: In the Lyceum both braziers have to be used in order to open both doors. (TrinityCore#30731)
* 1st * write less, do none * Update blackrock_depths.cpp
1 parent 1e7f741 commit 91473e7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,12 @@ class go_shadowforge_brazier : public GameObjectScript
4646
instance->SetData(TYPE_LYCEUM, DONE);
4747
else
4848
instance->SetData(TYPE_LYCEUM, IN_PROGRESS);
49-
// If used brazier open linked doors (North or South)
50-
if (me->GetGUID() == instance->GetGuidData(DATA_SF_BRAZIER_N))
49+
// If used both braziers, open linked doors (North and South)
50+
if (instance->GetData(TYPE_LYCEUM) == DONE)
51+
{
5152
instance->HandleGameObject(instance->GetGuidData(DATA_GOLEM_DOOR_N), true);
52-
else if (me->GetGUID() == instance->GetGuidData(DATA_SF_BRAZIER_S))
5353
instance->HandleGameObject(instance->GetGuidData(DATA_GOLEM_DOOR_S), true);
54+
}
5455

5556
return false;
5657
}

0 commit comments

Comments
 (0)