apply the final debugging
This commit is contained in:
@@ -49,7 +49,10 @@ public class SinglePlayerBattleEngine extends BattleEngine {
|
|||||||
player.SetState(EntityState.ALIVE);
|
player.SetState(EntityState.ALIVE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player.GetState() == EntityState.DEAD) {
|
if (enemy.GetState() == EntityState.DEAD) {
|
||||||
|
enemy.DropLoot(player);
|
||||||
|
player.AddLevelProgress(enemy.LevelProgressAmount);
|
||||||
|
System.out.println(TextColor.Green + player.Name + " WON!" + TextColor.Reset);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -69,10 +72,7 @@ public class SinglePlayerBattleEngine extends BattleEngine {
|
|||||||
System.out.println();
|
System.out.println();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (enemy.GetState() == EntityState.DEAD) {
|
if (player.GetState() == EntityState.DEAD) {
|
||||||
enemy.DropLoot(player);
|
|
||||||
player.AddLevelProgress(enemy.LevelProgressAmount);
|
|
||||||
System.out.println(TextColor.Green + player.Name + " WON!" + TextColor.Reset);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ public class Knight extends Player {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String GetSpecialAbilityDescription(Entity entity) {
|
public String GetSpecialAbilityDescription(Entity entity) {
|
||||||
return "Slam " + entity.Name + "with your unstoppable strength and stun them for the next turn";
|
return "Slam " + entity.Name + " with your unstoppable strength and stun them for the next turn";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user