Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
Port From (https://github.com/TrinityCore/TrinityCore/commit/b47185cabfbdeeaf492bf2303635db07ce703785)
This commit is contained in:
@@ -82,7 +82,7 @@ namespace Scripts.Pets
|
||||
return;
|
||||
|
||||
// Stop Fighting
|
||||
me.AddUnitFlag(UnitFlags.NonAttackable);
|
||||
me.SetUnitFlag(UnitFlags.NonAttackable);
|
||||
|
||||
// Sanctuary
|
||||
me.CastSpell(me, SpellIds.Sanctuary, true);
|
||||
|
||||
Reference in New Issue
Block a user