diff options
author | Exodius <Exodius@users.noreply.github.com> | 2014-07-24 03:08:49 +0200 |
---|---|---|
committer | Exodius <Exodius@users.noreply.github.com> | 2014-07-24 03:08:49 +0200 |
commit | 02d56e00bc256f224b7d05f90af2c0af7cb287bf (patch) | |
tree | fc807d027b7022e9ae2cc3dd5101482d06889572 /src | |
parent | 9a80eb5a85d384b53ab6a3375f0be94105a12653 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/Auras/SpellAuraEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |