diff options
author | megamage <none@none> | 2008-10-19 14:47:43 -0500 |
---|---|---|
committer | megamage <none@none> | 2008-10-19 14:47:43 -0500 |
commit | ed0803ecf2c0160f9288c4602cb11a7df2ea6ec5 (patch) | |
tree | 9a3cc35e83de2443dcaa9f66cf2bf79eec0ff568 /src/game/SpellEffects.cpp | |
parent | 672d304a4478afa58d6e094b1bf53ae25b176356 (diff) |
[svn] Fix spell 45072: should only affect demons.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 7 |
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; } |