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)); }
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); }
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); }
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"); } }
public void SWIFT(RBYPokemon Attacker, RBYPokemon Defender) { var query = MoveEnyclopedia.Where(p => p.Name == "SWIFT").ToList()[0]; DamageTypeMove(Attacker, Defender, query, AttackingMoveSecondary.None, true); }