diff options
author | Trisjdc <trisjdc@gmail.com> | 2014-06-05 11:43:59 +0100 |
---|---|---|
committer | Trisjdc <trisjdc@gmail.com> | 2014-06-05 11:43:59 +0100 |
commit | 2282a4c359e38bfe29f5eac4538e05230c5420c5 (patch) | |
tree | f341b58f29aa76d5dc82fbdd359ab43c9ffa1178 /src | |
parent | 700baded7a729fd04434a41398070b773c91dd31 (diff) |
Core/Spells: Swift Retribution should be reapplied when needed to be able to gain spellmods
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_paladin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp index bf4f1b77a19..447cb645e76 100644 --- a/src/server/scripts/Spells/spell_paladin.cpp +++ b/src/server/scripts/Spells/spell_paladin.cpp @@ -866,8 +866,8 @@ class spell_pal_improved_aura : public SpellScriptLoader void HandleEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { Unit* target = GetTarget(); - if (!target->GetOwnedAura(_spellId)) - target->CastSpell(target, _spellId, true); + GetTarget()->RemoveOwnedAura(_spellId, GetCasterGUID()); // need to remove to reapply spellmods + target->CastSpell(target, _spellId, true); } void HandleEffectRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) |