From 02d56e00bc256f224b7d05f90af2c0af7cb287bf Mon Sep 17 00:00:00 2001 From: Exodius Date: Thu, 24 Jul 2014 03:08:49 +0200 Subject: Core/Spells: Death and Decay Solves problems with Death and Decay doing LoS check using the caster instead of the center of AOE. Fix by @PKX Closes #6345 --- src/server/game/Spells/Auras/SpellAuraEffects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index 152dc903825..2205f0d4607 100644 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -5461,7 +5461,7 @@ void AuraEffect::HandlePeriodicDummyAuraTick(Unit* target, Unit* caster) const if (GetSpellInfo()->SpellFamilyFlags[0] & 0x20) { if (caster) - caster->CastCustomSpell(target, 52212, &m_amount, NULL, NULL, true, 0, this); + target->CastCustomSpell(target, 52212, &m_amount, NULL, NULL, true, 0, this, caster->GetGUID()); break; } // Blood of the North -- cgit v1.2.3