void JustDied(Unit*) { DoScriptText(SAY_DEATH, me); destroyPortals(); if (pInstance) pInstance->SetData(DATA_GRANDMASTERVORPILEVENT, DONE); }
void Reset() { ShadowBoltVolley_Timer = 7000 + rand()%7000; DrawShadows_Timer = 45000; summonTraveler_Timer = 90000; banish_Timer = 17000; HelpYell = false; destroyPortals(); if (pInstance) pInstance->SetData(DATA_GRANDMASTERVORPILEVENT, NOT_STARTED); }
void Reset() { HeroicMode = m_creature->GetMap()->IsHeroic(); if( HeroicMode ) debug_log("SD2: creature %u is in heroic mode",m_creature->GetEntry()); ShadowBoltVolley_Timer = 15000; DrawnShadows_Timer = 45000; sumportals_Timer = 10000; summonTraveler_Timer = 90000; InCombat = false; sumportals = false; destroyPortals(); if(pInstance) pInstance->SetData(DATA_GRANDMASTERVORPILEVENT, NOT_STARTED); }