···5// - The count is going down and is 1 less than a multiple of 100
6export function decideShouldRoll(isSet: boolean, count: number) {
7 let shouldRoll = false
8- if (!isSet && count === 0) {
9 shouldRoll = true
10- } else if (count > 0 && count < 1000) {
11 shouldRoll = true
12 } else if (count > 0) {
13 const mod = count % 100
···5// - The count is going down and is 1 less than a multiple of 100
6export function decideShouldRoll(isSet: boolean, count: number) {
7 let shouldRoll = false
8+ if (!isSet && count === 1) {
9 shouldRoll = true
10+ } else if (count > 1 && count < 1000) {
11 shouldRoll = true
12 } else if (count > 0) {
13 const mod = count % 100