JohnWolfson / Lakea-Stream-Assistant

A project to build a stream assistant 'Lakea' for handling events and improving Twitch streams for Materies Coil and his community
0 stars 0 forks source link

Battle Simulator Adjust Base Damage Calculation #210

Closed JohnWolfson closed 5 months ago

JohnWolfson commented 5 months ago

In the monster battles, the base damage is a random number between 1 and the attackers strength modifier. This should be changed to sustain better averages so that damage is more consistent while still allowing for low/high damage values before the multiplier is applied. One example would be to roll between 1 and half the strength modifier twice and add the rolls together:

Acceptance Criteria:

JohnWolfson commented 5 months ago

The base damage calculation has now been adjusted, it now calculates the base damage by rolling between 1 and half the attackers strength mod twice and adds the two together - RAN(1, (STR / 2)) + RAN(1, (STR / 2))

The modifier is still applied after this.