public override List <string> Apply(ColossoFighter User, ColossoFighter Target) { if (!User.IsAlive) { return(new List <string>()); } User.Kill(); return(new List <string>() { $"{User.Name} goes down from exhaustion." }); }
public override List <string> Apply(ColossoFighter User, ColossoFighter Target) { var log = new List <string>(); if (Target.IsImmuneToOHKO) { return(log); } if (Target.GetTeam().Count > 1 && Global.Random.Next(1, 100) <= Probability) { Target.Kill(); log.Add($":x: {Target.Name}'s life was taken."); } return(log); }
public override List <string> Apply(ColossoFighter user, ColossoFighter target) { var log = new List <string>(); if (target.IsImmuneToOhko) { return(log); } if (target.Party.Count > 1 && Global.RandomNumber(1, 100) <= Probability) { target.Kill(); log.Add($":x: {target.Name}'s life was taken."); } return(log); }