From 1ea75f413ce21f586654c80ba77ecf8b927d7a3b Mon Sep 17 00:00:00 2001 From: Gooyeth Date: Sat, 24 Mar 2018 09:03:35 -0600 Subject: improved fix --- src/server/game/Spells/Auras/SpellAuras.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index 3002660d039..a9b69584732 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -1149,7 +1149,6 @@ bool Aura::CanBeSaved() const case 44413: // Incanter's Absorption case 40075: // Fel Flak Fire case 55849: // Power Spark - case 57634: // Magma return false; } @@ -1161,6 +1160,11 @@ bool Aura::CanBeSaved() const if (GetCastItemGUID() && IsPermanent()) return false; + // don't save liquid auras + for (LiquidTypeEntry const* liquid : sLiquidTypeStore) + if (liquid->SpellId && liquid->SpellId == GetId()) + return false; + return true; } -- cgit v1.2.3