Roll Library Refinements #84

Closed
opened 2023-06-20 18:18:56 +02:00 by migration-script · 0 comments

The Roll lib is lacking the following cases:

  • Test case: need to swap third and second dice to maximize result. (eg. testValue: 36, dice 15,4,12)
  • Test case: First dice a 1 with a regular roll is not considered a crit success
  • Add handling for weird "swap first and last dice"-edgecase.
  • Add a config flag for slaying dice roll. A 1 on first dice is considered a crit success.
  • Add a config flag for slaying dice followup roll. A 20 on first dice is not considered a crit fail then.
The Roll lib is lacking the following cases: - [x] Test case: need to swap third and second dice to maximize result. (eg. testValue: 36, dice 15,4,12) - [x] Test case: First dice a `1` with a regular roll is not considered a crit success - [x] Add handling for weird "swap first and last dice"-edgecase. - [x] Add a config flag for slaying dice roll. A `1` on first dice is considered a crit success. - [x] Add a config flag for slaying dice followup roll. A `20` on first dice is not considered a crit fail then.
pheerai was assigned by migration-script 2023-06-20 18:18:56 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: dungeonslayers/ds4#84
No description provided.