public CutList Copy() { CutList ret = new CutList(); foreach (Cut cut in this) { ret.Add(cut.Copy()); } return(ret); }
private void SetCuts(CutList cutList, double cutPercent, double aggPercent) { cutList.ResetRound(); foreach (Cut c in cutList) { if (RandomGen.CheckRandom(aggPercent)) { c.Aggravate(); } } while (RandomGen.CheckRandom(cutPercent)) { Cut cut = Cut.RandomCut(); cutList.AddCut(cut); } if (cutList.Any(c => c.CausedTko) || cutList.CantSee()) { this.IsTKOedByCut = true; } }