aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author_manuel_ <manue.l@live.com.ar>2010-11-09 23:02:47 -0300
committer_manuel_ <manue.l@live.com.ar>2010-11-09 23:02:47 -0300
commit5674f81e51a7b72971361ee5058e095d428874ea (patch)
tree16bf870002658c4482ffa648dc9a47b82628fe5d /src
parent93160c369e3589f1926f1773e0d9ba7cf9c4965f (diff)
Core/Spells: Deterrence should deflect Death Grip.
Fixes issue 4582. Based on gastuslg“s patch and thanks to click. --HG-- branch : trunk
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Spells/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp
index 12a8a27c836..8dddcbf42e9 100755
--- a/src/server/game/Spells/SpellEffects.cpp
+++ b/src/server/game/Spells/SpellEffects.cpp
@@ -1445,7 +1445,7 @@ void Spell::EffectDummy(SpellEffIndex effIndex)
GetSummonPosition(effIndex, pos);
if (Unit *unit = unitTarget->GetVehicleBase()) // what is this for?
unit->CastSpell(pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), damage, true);
- else
+ else if (!unitTarget->HasAuraType(SPELL_AURA_DEFLECT_SPELLS)) // Deterrence
unitTarget->CastSpell(pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), damage, true);
return;
case 46584: // Raise Dead