Created
June 22, 2011 07:25
-
-
Save KiriX/1039636 to your computer and use it in GitHub Desktop.
pit of saron FIX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/scripts/northrend/icecrown_citadel/frozen_halls/pit_of_saron/boss_forgemaster_garfrost.cpp b/scripts/northrend/icecrown_citadel/frozen_halls/pit_of_saron/boss_forgemaster_garfrost.cpp | |
index 04f6657..f0740a4 100644 | |
--- a/scripts/northrend/icecrown_citadel/frozen_halls/pit_of_saron/boss_forgemaster_garfrost.cpp | |
+++ b/scripts/northrend/icecrown_citadel/frozen_halls/pit_of_saron/boss_forgemaster_garfrost.cpp | |
@@ -83,12 +83,18 @@ struct MANGOS_DLL_DECL boss_forgemaster_garfrostAI : public ScriptedAI | |
void Aggro(Unit* pWho) | |
{ | |
+ if (m_pInstance) | |
+ m_pInstance->SetData(TYPE_GARFROST, IN_PROGRESS); | |
+ | |
DoScriptText(SAY_AGGRO, m_creature, pWho); | |
DoCastSpellIfCan(m_creature, SPELL_PERMAFROST); | |
} | |
void JustDied(Unit* pKiller) | |
{ | |
+ if (m_pInstance) | |
+ m_pInstance->SetData(TYPE_GARFROST, DONE); | |
+ | |
DoScriptText(SAY_DEATH, m_creature, pKiller); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment