aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBlaymoira <none@none>2009-02-08 12:42:15 +0100
committerBlaymoira <none@none>2009-02-08 12:42:15 +0100
commitef390526e2f21d3796beae0c1e801c03bc9b587d (patch)
treed810f9527734fa18f3e5242b4cc9c8aa2eacbd2b /src
parent6fb285ee5f537c59b51ba5a2054dd9ebb3884df4 (diff)
*35354 doesn't do any damage if target has aura 38528 - by streetrat
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellEffects.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 6e205e7b2f0..db608094426 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -331,6 +331,14 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
switch(m_spellInfo->Id) // better way to check unknown
{
+ case 35354://hand of death
+ {
+ if(unitTarget && unitTarget->HasAura(38528,0))//protection of elune
+ {
+ damage = 0;
+ }
+ break;
+ }
// percent from health with min
case 25599: // Thundercrash
{