public int CalculateDamage(int effectIndex, Unit target, float var = 0) { return(Caster.CalculateSpellDamage(target, SpellInfo, effectIndex, SpellValue.EffectBasePoints[effectIndex], var)); }