예제 #1
0
        public void THRASH(RBYPokemon Attacker, RBYPokemon Defender)
        {
            var query = MoveEnyclopedia.Where(p => p.Name == "THRASH").ToList()[0];

            DeliverAttack(Attacker, Defender, query, AttackingMoveSecondary.None);
            Attacker.StartDancing(RandomNumberGenerator(2, 3));
        }
예제 #2
0
        public void SELFDESTRUCT(RBYPokemon Attacker, RBYPokemon Defender)
        {
            var query = MoveEnyclopedia.Where(p => p.Name == "SELFDESTRUCT").ToList()[0];

            DamageTypeMove(Attacker, Defender, query, BattleEngine.AttackingMoveSecondary.None);
            Attacker.TakeDamage(Attacker.HealthPoints, true, 1, true);
        }
예제 #3
0
        public void EXPLOSION(RBYPokemon Attacker, RBYPokemon Defender)
        {
            var query = MoveEnyclopedia.Where(p => p.Name == "EXPLOSION").ToList()[0];

            DamageTypeMove(Attacker, Defender, query, AttackingMoveSecondary.None);

            Attacker.TakeDamage(Attacker.HealthPoints, true, 1, true);
        }
예제 #4
0
        public void DREAM_EATER(RBYPokemon Attacker, RBYPokemon Defender)
        {
            var query = MoveEnyclopedia.Where(p => p.Name == "DREAM EATER").ToList()[0];

            if (Defender.CurrentStatus == StatusConditionInflicted.Sleep)
            {
                DamageTypeMove(Attacker, Defender, query, AttackingMoveSecondary.Absorbing);
            }
            else
            {
                Displayer.RelayMessage("The move failed");
            }
        }
예제 #5
0
        public void SWIFT(RBYPokemon Attacker, RBYPokemon Defender)
        {
            var query = MoveEnyclopedia.Where(p => p.Name == "SWIFT").ToList()[0];

            DamageTypeMove(Attacker, Defender, query, AttackingMoveSecondary.None, true);
        }