예제 #1
0
        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."
            });
        }
예제 #2
0
        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);
        }
예제 #3
0
        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);
        }