From 5bd575b974ce20557d8253df76e7b508ddef8fe2 Mon Sep 17 00:00:00 2001 From: Tartalo Date: Sat, 20 Mar 2010 13:06:21 +0100 Subject: Halls of Stone: Allow to loot Brann's chest when encounter ends (without waiting all the event). Blizzlike change --HG-- branch : trunk --- src/scripts/northrend/ulduar/halls_of_stone/halls_of_stone.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/scripts/northrend/ulduar/halls_of_stone/halls_of_stone.cpp b/src/scripts/northrend/ulduar/halls_of_stone/halls_of_stone.cpp index cf31a245f63..66e2770c615 100644 --- a/src/scripts/northrend/ulduar/halls_of_stone/halls_of_stone.cpp +++ b/src/scripts/northrend/ulduar/halls_of_stone/halls_of_stone.cpp @@ -509,6 +509,9 @@ struct npc_brann_hosAI : public npc_escortAI break; case 29: DoScriptText(SAY_EVENT_END_02, m_creature); + if (pInstance) + pInstance->SetData(DATA_BRANN_EVENT, DONE); + JumpToNextStep(5500); break; case 30: @@ -615,7 +618,6 @@ struct npc_brann_hosAI : public npc_escortAI pInstance->HandleGameObject(pInstance->GetData64(DATA_GO_MARNAK),false); pInstance->HandleGameObject(pInstance->GetData64(DATA_GO_ABEDNEUM),false); pInstance->HandleGameObject(pInstance->GetData64(DATA_GO_SKY_FLOOR),false); - pInstance->SetData(DATA_BRANN_EVENT, DONE); } Player* pPlayer = GetPlayerForEscort(); if (pPlayer) -- cgit v1.2.3