aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index e0a6dbe351d..d86cf091a5e 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -339,9 +339,17 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
switch(m_spellInfo->Id) // better way to check unknown
{
- case 35354://hand of death
+ case 35354: //Hand of Death
{
- if(unitTarget && unitTarget->HasAura(38528,0))//protection of elune
+ if(unitTarget && unitTarget->HasAura(38528,0)) //Protection of Elune
+ {
+ damage = 0;
+ }
+ break;
+ }
+ case 43648: //Electrical Storm
+ {
+ if(unitTarget && unitTarget->HasAura(44007, 0)) // Immune Aura
{
damage = 0;
}