*Do not allow to save persistent AA.
--HG-- branch : trunk
This commit is contained in:
1 parent
db6b57151d
commit
ecc6505c07
1 file changed
+3
@@ -1793,6 +1793,9 @@ bool Aura::CanBeSaved() const
|
||||
if (IsPassive())
|
||||
return false;
|
||||
|
||||
if(IsPersistent())
|
||||
return false;
|
||||
|
||||
if (GetCasterGUID() != m_target->GetGUID())
|
||||
if (IsSingleTargetSpell(GetSpellProto()) || IsAreaAura())
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user