mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
fix(scripts/CullingOfStratholme): Remove "Corrupting Blight" at Infinite Corruptor's death (#4011)
This commit is contained in:
@@ -74,10 +74,13 @@ public:
|
||||
{
|
||||
Talk(SAY_DEATH);
|
||||
for (SummonList::const_iterator itr = summons.begin(); itr != summons.end(); ++itr)
|
||||
{
|
||||
if (Creature* cr = ObjectAccessor::GetCreature(*me, (*itr)))
|
||||
{
|
||||
if (cr->GetEntry() == NPC_TIME_RIFT)
|
||||
{
|
||||
cr->DespawnOrUnsummon(1000);
|
||||
}
|
||||
else
|
||||
{
|
||||
cr->DespawnOrUnsummon(5000);
|
||||
@@ -85,9 +88,13 @@ public:
|
||||
cr->MonsterSay("You have my thanks for saving my existence in this timeline. Now i must report back to my superiors. They must know immediately of what i just experienced.", LANG_UNIVERSAL, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (InstanceScript* pInstance = me->GetInstanceScript())
|
||||
{
|
||||
pInstance->SetData(DATA_SHOW_INFINITE_TIMER, 0);
|
||||
pInstance->DoRemoveAurasDueToSpellOnPlayers(SPELL_CORRUPTING_BLIGHT);
|
||||
}
|
||||
}
|
||||
|
||||
void DoAction(int32 param) override
|
||||
|
||||
Reference in New Issue
Block a user