The code shown here:
- Code: Select all
// show animation on caster for positive spells, negative shows on every StartSpell
if (m_spell.Target == "Self" || m_spell.Target == "Group" || m_spell.Target == "Pet")
SendEffectAnimation(Caster, 0, false, 1);
- Code: Select all
// show animation on caster or pet for positive spells, negative shows on every StartSpell
if (m_spell.Target == "Self" || m_spell.Target == "Group")
{
//Show effects on the Caster
SendEffectAnimation(Caster, 0, false, 1);
}
if (m_spell.Target == "Pet")
{
//Show effects on the Controlled Pet
SendEffectAnimation(m_spellTarget, 0, false, 1);
}
The issue resides in the SpellHandler.cs code file, which resides in the GameServer project.