brackets
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user