From 16f95f9d32c4e4cc7b7eceaefc99ef5c4f854f53 Mon Sep 17 00:00:00 2001 From: Matan Shukry Date: Sun, 7 Mar 2021 00:09:47 +0200 Subject: Core/Auras: Don't save druid various flight forms to db (#26206) --- src/server/game/Spells/Auras/SpellAuras.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index 571be21ac53..a5b9d3edebc 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -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; -- cgit v1.2.3