implement JAVA-KNIGHT gameplay #2

Open
emad wants to merge 3 commits from develop into main
3 changed files with 1 additions and 1 deletions
Showing only changes of commit ddd662b90c - Show all commits
@@ -119,7 +119,7 @@ public class Assassin extends Player{
@Override @Override
public boolean specialAbility(Entity target) { public boolean specialAbility(Entity target) {
if(super.getMp() > 80) { if(super.getMp() >= 80) {
super.setMp(super.getMp() - 80); super.setMp(super.getMp() - 80);
System.out.printf("%s (Assassin) uses special ability.\n", super.name); System.out.printf("%s (Assassin) uses special ability.\n", super.name);
System.out.println("Assassin dodged the " + Colors.RED + "attack" + Colors.RESET); System.out.println("Assassin dodged the " + Colors.RED + "attack" + Colors.RESET);
Binary file not shown.