From e3d4b36a6bcdd011dafe5745c86d30b326532a3a Mon Sep 17 00:00:00 2001 From: Shauren Date: Wed, 10 Nov 2010 12:18:43 +0100 Subject: Scripts/Icecrown Citadel: Fixed Vengeful Shade despawning after it casts Vengeful Blast (Lady Deathwhisper) Core/Auras: Implemented SPELL_AURA_SET_VEHICLE_ID (296) Core/Scripts: Moved DefaultTargetSelector class into header file --HG-- branch : trunk --- .../Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src/server/scripts/Northrend') diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp index 628c5eb3312..79e2f04b766 100755 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp @@ -295,8 +295,8 @@ class boss_lady_deathwhisper : public CreatureScript DoScriptText(SAY_PHASE_2, me); DoScriptText(SAY_PHASE_2_EMOTE, me); DoStartMovement(me->getVictim()); - me->SetPower(POWER_MANA, 0); uiDamage -= me->GetPower(POWER_MANA); + me->SetPower(POWER_MANA, 0); me->RemoveAurasDueToSpell(SPELL_MANA_BARRIER); events.SetPhase(PHASE_TWO); events.ScheduleEvent(EVENT_P2_FROSTBOLT, urand(10000, 12000), 0, PHASE_TWO); @@ -736,8 +736,17 @@ class npc_vengeful_shade : public CreatureScript void SpellHitTarget(Unit * /*pTarget*/, const SpellEntry * spell) { - if (spell->Id == SPELL_VENGEFUL_BLAST) - me->Kill(me); + switch (spell->Id) + { + case SPELL_VENGEFUL_BLAST: + case 72010: + case 72011: + case 72012: + me->Kill(me); + break; + default: + break; + } } }; -- cgit v1.2.3