PokemonMove move = entry.getMove();
String name = entry.getName();
if (name.equals("Solarbeam")) {
if (move instanceof StatusMove) {
StatusMove statusMove = (StatusMove)move;
ChargeEffect charge = (ChargeEffect)statusMove.getEffects()[0];
charge.getMove().getMove().setPower(60);
}
} else if (name.equals("Weather Ball")) {
move.setPower(100);
move.setType(PokemonType.T_ICE);
} else if (name.equals("Moonlight") || name.equals("Morning Sun") || name.equals("Synthesis")) {
StatusMove statusMove = (StatusMove)move;
// Assume that the first effect is the PercentEffect!
PercentEffect perc = (PercentEffect)statusMove.getEffects()[0];
perc.setPercent(1.0/3.0);
} else if (name.equals("Blizzard")) {
if (poke.getField().getMechanics() instanceof JewelMechanics) {
return new MoveListEntry("Blizzard", new StatusMove(
PokemonType.T_ICE, 120, 0.7, 5, new StatusEffect[] {
new FreezeEffect()
},
new boolean[] { false },
new double[] { 0.1 }