public static BuffStatEffects Copy(BuffStatEffects template) { return(new BuffStatEffects() { Stats = template.Stats, BuffPool = template.BuffPool }); }
public static BattleStats Copy(BattleStats template) { return(new BattleStats() { AttacksPerTurn = BuffStatNum.Copy(template.AttacksPerTurn), BasicDamage = BuffStatNum.Copy(template.BasicDamage), BlockAmount = BuffStatNum.Copy(template.BlockAmount), MaxHealth = BuffStatNum.Copy(template.MaxHealth), Immunities = BuffStatEffects.Copy(template.Immunities), AppliedEffects = BuffStatEffects.Copy(template.AppliedEffects), ChanceToApply = BuffStatNum.Copy(template.ChanceToApply), ApplyDuration = BuffStatNum.Copy(template.ApplyDuration), }); }