aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellMgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
-rw-r--r--src/server/game/Spells/SpellMgr.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index 9361194120a..01567385bd3 100644
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -2946,6 +2946,12 @@ void SpellMgr::LoadSpellInfoCustomAttributes()
}
}
+ // add attribute custom to liquid auras
+ for (LiquidTypeEntry const* liquid : sLiquidTypeStore)
+ if (liquid->SpellId)
+ if (spellInfo = _GetSpellInfo(liquid->SpellId))
+ spellInfo->AttributesCu |= SPELL_ATTR0_CU_LIQUID_AURA;
+
TC_LOG_INFO("server.loading", ">> Loaded SpellInfo custom attributes in %u ms", GetMSTimeDiffToNow(oldMSTime));
}