[Core] Start dbscripts_on_spell for SPELL_EFFECT_TRIGGER_MISSILE with missing spell id (c2645)
This commit is contained in:
parent
25cb227e14
commit
64c781f42e
@ -1383,8 +1383,14 @@ void Spell::EffectTriggerMissileSpell(SpellEffectIndex effect_idx)
|
|||||||
|
|
||||||
if (!spellInfo)
|
if (!spellInfo)
|
||||||
{
|
{
|
||||||
sLog.outError("EffectTriggerMissileSpell of spell %u (eff: %u): triggering unknown spell id %u",
|
if (unitTarget)
|
||||||
m_spellInfo->Id, effect_idx, triggered_spell_id);
|
{
|
||||||
|
DEBUG_FILTER_LOG(LOG_FILTER_SPELL_CAST, "Spell ScriptStart spellid %u in EffectTriggerMissileSpell", m_spellInfo->Id);
|
||||||
|
m_caster->GetMap()->ScriptsStart(sSpellScripts, m_spellInfo->Id, m_caster, unitTarget);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
sLog.outError("EffectTriggerMissileSpell of spell %u (eff: %u): triggering unknown spell id %u",
|
||||||
|
m_spellInfo->Id, effect_idx, triggered_spell_id);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user