else if (type.isConditionModifier())
pokemon.addConditionEffect(ConditionEffect.valueOf(type.toString()));
else if (type.isFieldModifier())
user.addSlotEffect(new SlotEffect(SlotEffectType.valueOf(type.toString()), user, enemy));
else if (type == MoveEffectType.HEALTH_MOD)
pokemon.healDamage((int) (pokemon.maxHealth() * power / 1000.0));
}
private double chance;
private int move_number, type, target, power;