[4.2] Fix DiceRoll Success Counting Bug #16
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User Story
As a developer, I want
DiceRoll.roll()to count successes from the new roll, not the stale result list.Acceptance Criteria
Dice.kt—numberOfSuccessesmust be computed from newly rolled values.roll()Notes
Bug in
lib/functions/Dice.kt. ThenumberOfSuccessesis computed from a stale result list rather than the freshly rolled values. Foundation-phase fix.