Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

5 Round Boss Fight (Harlowe)

Say you have your health at 5000, and boss health at 50000, the fight goes on for 5 rounds, each dealing 20% damage. You have 3 options, and they give you a random chance of striking the boss or you dying in one hit. Say the options are Lunge, Roll and Block.

What I want is to have the 3 passages coming off each round to have a 1:2 chance of Win:Lose, and then it displays either the Winning passage, which then goes to the next round, or the Losing passage where you then restart the boss fight.

• first you can say me what format are you using?
• I am using the Harlowe format (which I have put in brackets in the title)
• Your request is a little unclear:

a. What is meant to happen if the defensive options (Roll and Block) are selected?

b. Your fight is very unbalanced, the boss has a 66% chance of killing you with a single hit each round, but the player only has a 33% chance of doing 10,000 points of damage each round and they have to be successful five time in a row to kill the boss.
```(set: \$bossHP to 50000)

Loop the following until someone is dead.
(set: \$outcome to (random: 1,3))
(if: \$outcome is 1)[You hit the boss.(set: \$bossHP to it - 10000)]
(if: \$bossHP is 0)[The boss died!]
```
c. If the player is doing a set amount of damage (eg. 10,000 => 20% of 50000) then the number of rounds does not matter.
• edited January 2016
A) If you use a defensive option, it would still deal damage to the boss, but at the same time, also has a chance of killing you if the attack isn't successful.

A 1 in 3 chance of winning adds to the difficulty, as what I have at the moment, it is easy to remember the order if you make a mistake.

C) So, that would mean I can still add something like "The Dragon is pissed, he then tries to claw you", and change it as the fight goes on?

Also, I have a passage where if you die on the boss, you go there and restart the fight, I can make it go there after you die? I named that passage "Death Room"

Edit: The health would stay at 40000 even if its successful, is this a bug?
• Edit: The health would stay at 40000 even if its successful, is this a bug?
Is this comment related to the example I gave in point B?
That example was not meant to be a solution, it was just meant to show you the steps required to determine randomly if the player hit the boss or the boss hit the player. If you want to use that example then Just place the (set: \$bossHP to 50000) line in a prior passage to setup the health of the boss.

RE: A. It is unusual for a defensive action to deal the same amount of damage as an attack but if that is what you want then just use the combat example in point B. for each of the three options.

RE: B. As an example of how hard it will be for the player to win against the boss, add the following to the first passage of a Harlowe Twine project, Run the story and keep using the web-browser's refresh button (or F5) until you get five 1's.
(it may take a while!)
```Round 1: (print: (random: 1,3))
Round 2: (print: (random: 1,3))
Round 3: (print: (random: 1,3))
Round 4: (print: (random: 1,3))
Round 5: (print: (random: 1,3))
```
RE: C. If you want to go to a different passage when the player dies then change the (else:) line in the point B. example to:
```(else:)[(goto: "Death Room")]
```
• edited January 2016
Here's what I found: If all Rounds were 1, its impossible - keeps looping between Death Room and Round 1, if its 2, it has a chance of advancing and if its a 3 it would skip any rounds that come after that.

I am not sure if having each ability a 50 /50 chance of hitting would be easier, so then it would have a Success line and a Defeat line at an equal chance. Is that an easier option than doing it this way?
• edited January 2016
If you want to see if I am doing anything wrong, here's the file: (ill upload later as I am using college network)
• Here's the file:
• edited January 2016
The main thing making your combat system unbalanced is not the percentage chance to hit the boss (although that is not helping), it is the fact that the player has to successfully hit the boss five times to win whereas the boss only has to hit the player once.

eg.
a. Based on a 33% to hit and five hits to kill the boss, the player has a 1 in 243 chance to win. (3x3x3x3x3) = 243 possible permutation of 1,2, and 3

b. Based on a 50% to hit and five hits to kill the boss, the player has a 1 in 32 chance to win. (2x2x2x2x2) = 32 possible permutation of 1 and 2

btw: The background image of your story current requires a person to be logged into the sharepoint site for it to be seen, because of this I was unable to read the yellow text on white background without modifying the story first.
• The Story is linked to One-Drive which is why some of the images wasn't showing. I think having 50% chance is easier as it won't be frustrating to complete then.