Adding atrribute custom SPELL_ATTR0_CU_LIQUID_AURA
This commit is contained in:
1 parent
4da3cbf3aa
commit
395ad03cd4
3 files changed
+11
-5
No files matched your search
@@ -2809,6 +2809,12 @@ void SpellMgr::LoadSpellInfoCustomAttributes()
|
||||
spellInfo->_InitializeExplicitTargetMask();
|
||||
}
|
||||
|
||||
// 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));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user