Core/Auras: Don't save druid various flight forms to db (#26206)

This commit is contained in:
Matan Shukry
2021-03-07 00:09:47 +02:00
committed by GitHub
parent af1b3301c9
commit 16f95f9d32

View File

@@ -1059,6 +1059,11 @@ bool Aura::CanBeSaved() const
if (GetId() == 67483 || GetId() == 67484 || GetId() == 48517 || GetId() == 48518)
return false;
// Don't save druid forms, only the dummy. It will cast the appropriate form
// Swift Flight Flight Aquatic Stag
if (GetId() == 40120 || GetId() == 33943 || GetId() == 1066 || GetId() == 165961)
return false;
// don't save auras removed by proc system
if (IsUsingCharges() && !GetCharges())
return false;