/// <summary> /// Makes a new Ability by coping values from another /// </summary> /// <param name="ability"></param> public Ability(Ability ability) { Name = ability.Name; AbilityId = ability.AbilityId; Source = ability.Source; DamageType = ability.DamageType; IsPetAbility = ability.IsPetAbility; IconPath = ability.IconPath; TotalDamage = ability.TotalDamage; TotalHealing = ability.TotalHealing; TotalEffectiveHealing = ability.TotalEffectiveHealing; DamagePerSecond = ability.DamagePerSecond; HealingPerSecond = ability.HealingPerSecond; EffectiveHealingPerSecond = ability.EffectiveHealingPerSecond; BreakdownPercentage = ability.BreakdownPercentage; Statistics = new AbilityStatistics(ability.Statistics); }
public Ability() { Statistics = new AbilityStatistics(); }