private static class RampageMove extends PokemonMove {
public RampageMove(PokemonType type, int power, double accuracy, int pp) {
super(type, power, accuracy, pp);
}
public int use(BattleMechanics mech, Pokemon user, Pokemon target) {
user.addStatus(user, new StatusEffect() {
private int m_turns = 0;
public boolean apply(Pokemon p) {
m_turns = 2 + p.getField().getMechanics().getRandom().nextInt(2);
return true;
}