Exemple #1
0
        public override int Effect(PlayerCharacter pc)
        {
            ranking++;
            if (ranking >= toRankUp)
            {
                pc.Speed++;
                ranking = 0;
                toRankUp += 5;
            }
            if (pc.Speed < 25)
                return pc.Atk * 2;
            if (pc.Speed < 75)
                return pc.Atk * 3;
            if (pc.Speed < 140)
                return pc.Atk * 4;
            if (pc.Speed < 200)
                return pc.Atk * 5;

            pc.GainHP(pc.Atk / 10);
            return pc.Atk * 6;
        }