Scripts/Icecrown Citadel: Valithria Dreamwalker will be immune to healing from Glyph of Dispel Magic

This commit is contained in:
Shauren
2011-08-29 13:22:20 +02:00
parent 240534ba2f
commit 4138b6e48e

View File

@@ -310,6 +310,8 @@ class boss_valithria_dreamwalker : public CreatureScript
// immune to percent heals
me->ApplySpellImmune(0, IMMUNITY_STATE, SPELL_AURA_OBS_MOD_HEALTH, true);
me->ApplySpellImmune(0, IMMUNITY_EFFECT, SPELL_EFFECT_HEAL_PCT, true);
// Glyph of Dispel Magic - not a percent heal by effect, its cast with custom basepoints
me->ApplySpellImmune(0, IMMUNITY_ID, 56131, true);
_instance->SendEncounterUnit(ENCOUNTER_FRAME_REMOVE, me);
_missedPortals = 0;
_under25PercentTalkDone = false;