public override void Initialize(float statusDuration, CombatEntity caster, CombatEntity target) { base.Initialize(statusDuration, caster, target); var d = (caster.GetStat(StatType.Strength) * strengthScaling) + (caster.GetStat(StatType.Magic) * magicScaling); totalDamage = (int)d; }
public override void Apply(CombatEntity caster, CombatEntity target) { float damage = (caster.GetStat(StatType.Strength) * strengthScaling) + (caster.GetStat(StatType.Magic) * magicScaling); target.DoDamage((int)damage, attributeType); }