Beispiel #1
0
        public CutList Copy()
        {
            CutList ret = new CutList();

            foreach (Cut cut in this)
            {
                ret.Add(cut.Copy());
            }

            return(ret);
        }
Beispiel #2
0
 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;
     }
 }