Scripts/Icecrown Citadel: Added Lady Deathwhisper script, huge thanks to wowgargamel for script parts, timers and sniffs

Core/Scripts: Added GetPhaseMask() method to EventMap

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-08-21 11:09:58 +02:00
parent 50789b0461
commit d7814e88d8
13 changed files with 925 additions and 13 deletions
@@ -2224,6 +2224,14 @@ void AuraEffect::TriggerSpell(Unit * target, Unit * caster) const
case 39857: triggerSpellId = 39856; break;
// Personalized Weather
case 46736: triggerSpellId = 46737; break;
// Mana Barrier - Lady Deathwhisper
case 70842:
{
int32 missingHealth = caster->GetMaxHealth() - caster->GetHealth();
caster->ModifyHealth(missingHealth);
caster->ModifyPower(POWER_MANA, -missingHealth);
return;
}
}
break;
}