Skip to content

Rolltracker: Fix Lucky Number reporting logic and missing BUST! color#2555

Open
SnickySnacks wants to merge 1 commit into
Windower:devfrom
SnickySnacks:dev
Open

Rolltracker: Fix Lucky Number reporting logic and missing BUST! color#2555
SnickySnacks wants to merge 1 commit into
Windower:devfrom
SnickySnacks:dev

Conversation

@SnickySnacks

@SnickySnacks SnickySnacks commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Currently lucky numbers are reported every other roll/double. This means if you do roll A and hit a lucky number, then do roll B, roll B won't report its lucky numbers until you double up.

This commit changes that logic to always report them on the first roll, based on the rollID changing or the rollNum going down (if doing the same roll multiple times)

Minor bugs are that if the first roll is low and you wait/fold the roll and then re-roll the same roll and get a number higher than the first roll, the lucky numbers won't display again. Based on the method this addon is using, I don't think I can differentiate between phantom roll and double-up in this scenario to determine when this occurs.

Also, if you double-up on a non-11 lucky number, it will print the lucky numbers again, as I'm resetting the reporting flag when the lucky number is hit, to help a little with the first scenario.

Currently lucky numbers are reported every other roll/double.
This means if you do roll A and hit a lucky number, then do roll B, roll B won't report its lucky numbers.

This commit changes that logic to always report them on the first roll, based on the rollID changing or the rollNum going down (if doing the same roll multiple times)

Minor bugs are that if the first roll is low and you wait/fold the roll and then re-roll the same roll and get a number higher than the first roll, the lucky numbers won't display again. Based on the method this addon is using, I don't think I can differentiate between phantom roll and double-up in this scenario to determine when this occurs.

Also, if you double-up on a non-11 lucky number, it will print the lucky numbers again, as I'm resetting the reporting flag when the lucky number is hit, to help a *little* with the first scenario.
@SnickySnacks SnickySnacks changed the title Fix Lucky Number reporting logic and missing BUST! color Rolltracker: Fix Lucky Number reporting logic and missing BUST! color Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant