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 and simplify TP/KK melee modifier caculations (attempt 2) #19

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

davidfoerster
Copy link
Contributor

TP/KK modifiers for melee weapon damage, AT, and PA were incorrectly rounded towards negative infinity instead of zero as required by the rule book.

The modifier calculation is now done using integer division rather than repeated addition/subtraction.

TP/KK modifiers for melee weapon damage, AT, and PA were incorrectly rounded
towards negative infinity instead of zero as required by the rule book.

The modifier calculation is now done using integer division rather than repeated
addition/subtraction.
@flyx flyx merged commit 515bfe2 into flyx:master Feb 12, 2024
1 check passed
@davidfoerster davidfoerster deleted the pr/fix-tp-kk-2 branch February 13, 2024 21:19
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.

2 participants