mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
*Do not allow to save persistent AA.
--HG-- branch : trunk
This commit is contained in:
@@ -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