All five spells have TARGET_UNIT_CASTER. Maybe can handle better?
For First Post Problem also solved:
Also add In SpellEffects.cpp For Kazrajin Discharge.
In handler EffectSchoolDMG(SPELL_EFFECT_SCHOOL_DAMAGE)
if (unitTarget->HasAura(137166)) // Spell Discharge should reflect damage on caster.
{
if (unitTarget)
{
int32 bp0 = damage / 10;
unitTarget->CastSpell(unitTarget, 137172, true); // Visual effect.
unitTarget->CastCustomSpell(unitTarget, 136935, &bp0, NULL, NULL, true); // Damage bonus.
}
}
Also for Static Wound
else if (unitTarget->HasAura(138349))
{
if (unitTarget)
{
int32 bp0 = damage / 3;
unitTarget->CastCustomSpell(unitTarget, 138389, &bp0, NULL, NULL, true); // Damage bonus.
}
}
PROBLEM SOLVED, DRAENOR IS FREE!