Skip to content
Snippets Groups Projects
Commit 3c196715 authored by Charlie Darques's avatar Charlie Darques
Browse files

modif level

parent 55e87c9a
Branches
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ public class Level{
public void playerHasEnergy(Attack attack) {
this.ennemy.damage(attack.getDamage() * player.getAttackMultiplier());
player.exhaust(attack.getEnergyCost());
System.out.println("You're using " + attack.getName() + "! You lose " + attack.getEnergyCost() + " energy points");
System.out.println("You're using " + attack.getName() + "! You lose " + (int) attack.getEnergyCost() + " energy points");
}
// affiche les règles du jeu
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment