Core/Spells: Don't save channeled auras (#20923)

This commit is contained in:
Gustavo
2017-11-19 13:36:14 -02:00
committed by joschiwald
parent 1b1744c772
commit 5b7e4efcc4

View File

@@ -947,6 +947,9 @@ bool Aura::CanBeSaved() const
if (IsPassive())
return false;
if (GetSpellInfo()->IsChanneled())
return false;
// Check if aura is single target, not only spell info
if (GetCasterGUID() != GetOwner()->GetGUID())
if (GetSpellInfo()->IsSingleTarget() || IsSingleTarget())