Core/Auras: Don't save druid various flight forms to db

Port From (https://github.com/TrinityCore/TrinityCore/commit/16f95f9d32c4e4cc7b7eceaefc99ef5c4f854f53)
This commit is contained in:
hondacrx
2021-03-08 14:21:46 -05:00
parent 9beef00c3a
commit c54c27f831
+5
View File
@@ -997,6 +997,11 @@ namespace Game.Spells
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() == 0)
return false;