pwatson100 / alienrpg

Alien RPG system for Foundry VTT.
GNU General Public License v3.0
38 stars 31 forks source link

Unable to Roll Just Stress Dice #189

Closed NocFenix closed 2 years ago

NocFenix commented 2 years ago

Page 62 of the Core Rule Book states:

If you don't have enough Base Dice to remove after a modification, remove Stress Dice.

This means that if I have 3 Base and 3 Stress and the GM imposes a -3 Modifier to my roll, I should still see the Stress Dice get rolled. Right now in Foundry if your Modifier cancels out the Base Dice then no roll occurs at all, even though it should still roll the Stress Dice.

Additionally when you fix this bug, it might be worth seeing if you can have it auto-calculate a change to the Stress Dice pool as well.

Same example from above: 3 Base and 3 Stress and the GM imposes a -4 Modifier to my roll, when I enter that into the Base Modifier input box I should see just 2 Stress Dice rolled. (This part isn't really related to the original bug, but would be a QoL improvement to go with fixing the bug.)

pwatson100 commented 2 years ago

I missed that subtle rule and will need to see how I can implement it. My dice roller currently expects a base dice to be present for the roll so I will need to see how I can work around it.

pwatson100 commented 2 years ago

Cracked it. It will now perform as you suggest as well as subtract stress dice if needed. A message is displayed if Base and Stress dice fall to zero (so no roll possible).

pwatson100 commented 2 years ago

Resolved in version 3.0.0 (V10 release).