Merge pull request #12219 from Trisjdc/spell_swift_retribution

Core/Spells: Swift Retribution should be reapplied when needed to be able to gain spellmods
This commit is contained in:
Sebastian Valle Herrera
2014-06-05 10:13:08 -05:00

View File

@@ -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*/)