From 5674f81e51a7b72971361ee5058e095d428874ea Mon Sep 17 00:00:00 2001 From: _manuel_ Date: Tue, 9 Nov 2010 23:02:47 -0300 Subject: Core/Spells: Deterrence should deflect Death Grip. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes issue 4582. Based on gastuslg“s patch and thanks to click. --HG-- branch : trunk --- src/server/game/Spells/SpellEffects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3