Maybe add this?
```c++
if (spellid != 0)
    m_caster->CastSpell(unitTarget, spellid, true, NULL);
```