diff options
author | Tartalo <none@none> | 2010-03-20 13:06:21 +0100 |
---|---|---|
committer | Tartalo <none@none> | 2010-03-20 13:06:21 +0100 |
commit | 5bd575b974ce20557d8253df76e7b508ddef8fe2 (patch) | |
tree | cc0c81889b1968e207b61a493fd3d4c54b65a471 | |
parent | 34fb5df5698470f19c733e34bd0c28450130a55f (diff) |
Halls of Stone: Allow to loot Brann's chest when encounter ends (without waiting all the event). Blizzlike change
--HG--
branch : trunk
-rw-r--r-- | src/scripts/northrend/ulduar/halls_of_stone/halls_of_stone.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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) |