This commit is contained in:
Kitzunu
2021-05-08 05:22:17 +02:00
parent 8016d8c8a8
commit 088f2d0b40

View File

@@ -3259,10 +3259,18 @@ void SpellMgr::LoadSpellCustomAttr()
}
if (spellInfo->Speed > 0.0f)
{
if (SpellVisualEntry const* spellVisual = sSpellVisualStore.LookupEntry(spellInfo->SpellVisual[0]))
{
if (spellVisual->HasMissile)
{
if (spellVisual->MissileModel == -4 || spellVisual->MissileModel == -5)
{
spellInfo->AttributesCu |= SPELL_ATTR0_CU_NEEDS_AMMO_DATA;
}
}
}
}
}
// Xinef: addition for binary spells, ommit spells triggering other spells