Develop #1

Open
Ramtin wants to merge 35 commits from develop into main
2 changed files with 6 additions and 6 deletions
Showing only changes of commit 821d27098c - Show all commits
@@ -49,7 +49,10 @@ public class SinglePlayerBattleEngine extends BattleEngine {
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;
}
@@ -69,10 +72,7 @@ public class SinglePlayerBattleEngine extends BattleEngine {
System.out.println();
}
if (enemy.GetState() == EntityState.DEAD) {
enemy.DropLoot(player);
player.AddLevelProgress(enemy.LevelProgressAmount);
System.out.println(TextColor.Green + player.Name + " WON!" + TextColor.Reset);
if (player.GetState() == EntityState.DEAD) {
return;
}
@@ -45,7 +45,7 @@ public class Knight extends Player {
@Override
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