Skip to content

Commit

Permalink
Cambios en el vista
Browse files Browse the repository at this point in the history
  • Loading branch information
ander authored and ander committed May 15, 2023
1 parent 809bcd8 commit ad17ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Vista_Controlador/Panel_Pokemon.java
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ public void mouseClicked(MouseEvent e) {
//ListaJugadores.getListaJugadores().buscarJugador(idJug).getPokemon(idPok).haAtacadoEuforico();
cont++;
//System.out.println("El valor de cont es" + cont);
if (cont==1 && idJug!=1) /*El bot lo gestiona de otra manera*/{
if (cont==1 && idJug==0) /*El bot lo gestiona de otra manera*/{
//System.out.println("Entra en el if vista 1 y el id del jugador atacante es: " + idJug + " y el id del pokemon atacante es: " + idPok);
ListaJugadores.getListaJugadores().buscarJugador(idJug).getPokemon(idPok).estaEuforico();
}
Expand Down

0 comments on commit ad17ffc

Please sign in to comment.