diff options
author | Matan Shukry <matanshukry@gmail.com> | 2021-03-07 00:09:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-06 23:09:47 +0100 |
commit | 16f95f9d32c4e4cc7b7eceaefc99ef5c4f854f53 (patch) | |
tree | ff83b57d7c6935d896b5c4a62431be314d1876cc | |
parent | af1b3301c94c9d7842daaac8c2c15bb29faf95ba (diff) |
Core/Auras: Don't save druid various flight forms to db (#26206)
-rw-r--r-- | src/server/game/Spells/Auras/SpellAuras.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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; |