Skip to content

Instantly share code, notes, and snippets.

@tst12
Created January 20, 2012 09:20
Show Gist options
  • Save tst12/1646334 to your computer and use it in GitHub Desktop.
Save tst12/1646334 to your computer and use it in GitHub Desktop.
deathbringer saurfang
diff --git a/scripts/northrend/icecrown_citadel/icecrown_citadel/boss_deathbringer_saurfang.cpp b/scripts/northrend/icecrown_citadel/icecrown_citadel/boss_deathbringer_saurfang.cpp
index 9282fe5..9301462 100644
--- a/scripts/northrend/icecrown_citadel/icecrown_citadel/boss_deathbringer_saurfang.cpp
+++ b/scripts/northrend/icecrown_citadel/icecrown_citadel/boss_deathbringer_saurfang.cpp
@@ -204,7 +204,7 @@ struct MANGOS_DLL_DECL boss_deathbringer_saurfang_eventAI : public base_icc_boss
m_bTeleported = true;
}
- if (m_bTeleported && !m_bIsIntroStarted && pWho->GetTypeId() == TYPEID_PLAYER && !((Player*)pWho)->isGameMaster() && m_creature->GetDistance2d(pWho) < 50.0f)
+ if ((m_pInstance->GetData(TYPE_SAURFANG) != DONE) && m_bTeleported && !m_bIsIntroStarted && pWho->GetTypeId() == TYPEID_PLAYER && !((Player*)pWho)->isGameMaster() && m_creature->GetDistance2d(pWho) < 50.0f)
{
m_bIsAlliance = false; //((Player*)pWho)->GetTeam() == ALLIANCE;
DoSummonEventNpcs();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment