Browse Source

Added output to runaway input while in combat

remotes/origin/fight-engine
fdai7430 2 years ago
parent
commit
038b84d87f
  1. 2
      src/main/java/org/bitbiome/commands/UseCommand.java

2
src/main/java/org/bitbiome/commands/UseCommand.java

@ -44,9 +44,11 @@ private boolean combat = false;
break COMBAT_LOOP; break COMBAT_LOOP;
case "runaway": case "runaway":
if(runawaySucceeds(getRunawayChance())) { if(runawaySucceeds(getRunawayChance())) {
System.out.println("You successfully ran away.");
combat = false; combat = false;
break COMBAT_LOOP; break COMBAT_LOOP;
} }
System.out.println("You failed to run away.");
break; break;
case "help": case "help":
new HelpCommand().performCommand(scanner, true, "", engine); new HelpCommand().performCommand(scanner, true, "", engine);

Loading…
Cancel
Save