1516171819202122232425
{ int ailment = 1 + (int)(Math.random() * ((5 - 1) + 1)); if (ailment == 1 && !pokemon.isVolatile()) { pokemon = new Burned(pokemon); } if (pokemon.getHealth() <= damage) { pokemon.setHealth(0);