private (double Heal, DamageOutput Damage) CalculateNumericEffects(Xml.Castable castable, Xml.ModifierEffect effect, Creature source) { double heal = 0; DamageOutput dmg = new DamageOutput(); if (!effect.Heal.IsEmpty) { heal = NumberCruncher.CalculateHeal(castable, effect, Target, source, Name); } if (!effect.Damage.IsEmpty) { dmg = NumberCruncher.CalculateDamage(castable, effect, Target, source, Name); } return(heal, dmg); }
public SimpleStatusEffect(double heal, DamageOutput damage) { Heal = heal; Damage = damage; }