Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix electric tool damage config innacuracy #2350

Merged
merged 1 commit into from Jan 16, 2024

Conversation

M-W-K
Copy link
Contributor

@M-W-K M-W-K commented Jan 16, 2024

What

Changes the comparison operator between a random integer between 0-99 and the rngRandomDamageElectricTools config option (0-100) from a > to a >= operator. This causes the config option to be treated accurately, instead of acting as if the config is set 1% higher than it actually is.

Outcome

Fixes #2348

Potential Compatibility Issues

None

@M-W-K M-W-K requested a review from a team as a code owner January 16, 2024 17:41
@M-W-K M-W-K changed the title Fix Fix electric tool damage config innacuracy Jan 16, 2024
@htmlcsjs htmlcsjs added the type: bug Something isn't working label Jan 16, 2024
@serenibyss serenibyss merged commit 55106f1 into GregTechCEu:master Jan 16, 2024
3 of 4 checks passed
@M-W-K M-W-K deleted the fix-damage-chance branch January 16, 2024 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Electric tool damage chance config is inaccurate
3 participants