aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/SpellEffects.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index f7d9861dd03..715fb276b29 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -339,6 +339,13 @@ void Spell::EffectSchoolDMG(uint32 effect_idx)
damage = 200;
break;
}
+ // must only affect demons
+ case 45072:
+ {
+ if(unitTarget->GetCreatureType() != CREATURE_TYPE_DEMON)
+ return;
+ break;
+ }
}
break;
}