flyx / DSA-4.1-Heldendokument

Konfigurierbares Heldendokument für DSA, basierend auf LuaLaTeX.
https://flyx.github.io/DSA-4.1-Heldendokument/
14 stars 4 forks source link

Fix and simplify TP/KK melee modifier caculations (attempt 2) #19

Closed davidfoerster closed 7 months ago

davidfoerster commented 7 months ago

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.