File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ public static void main(String[] args) {
59
59
"Que modo você deseja jogar?\n 1 = Modo Historia\n 2 = Modo Livre (Onde você pode criar seu personagem da forma que quiser)" );
60
60
int opc = 0 ;
61
61
do {
62
- // opc = sc.nextInt();
63
- opc = 1 ;
62
+ opc = sc .nextInt ();
63
+ // opc = 1;
64
64
if (opc == 2 ) {
65
65
if (vitorias > 0 ) {
66
66
iniciarModoLivre ();
@@ -73,7 +73,7 @@ public static void main(String[] args) {
73
73
personagem = (Personagem ) escolherCriatura (personagens );
74
74
// Garantindo que haverá um personagem, caso haja, iniciar as 3 rodadas
75
75
if (personagem != null ) {
76
- batalharComBoss ();
76
+ // batalharComBoss();
77
77
iniciarRaid ();
78
78
}
79
79
} else {
@@ -254,11 +254,11 @@ public static void batalharComBoss() {
254
254
*/
255
255
Chefao chefao = chefoes .get (estagio );
256
256
System .out .println (ANSI_YELLOW + "Um Boss " + chefao .getNome () + " apareceu!!!" + ANSI_RESET );
257
+ chefao .imprimirBoss ();
257
258
int turno = 1 ;
258
259
while (chefao .getHp () > 0 && personagem .getHp () > 0 ) {
259
260
System .out .println ("Turno: " + turno );
260
261
System .out .println (ANSI_GREEN + "Sua vez de atacar!" + ANSI_RESET );
261
- System .out .println (personagem .getEfeito ());
262
262
int danoAtaque = personagem .atacar (chefao );
263
263
chefao .tomarDano (danoAtaque );
264
264
You can’t perform that action at this time.
0 commit comments