
Jonas said:
Hey,
i found a bug in the NPC sheet when rolling skills. It seems that negative bonus are ignored.
Example 1: Athleticsroll for a NPC with STR-Mod 1 and sum of all PROF -3 (for example lvl 1 untrained character), general skill @{generic_skill_mod} is empty or 0
Current Roll: 1d20+0[Bonus]+1[Dex]
Expected Roll: 1d20+-3[Bonus]+1[Str]Example 2: Athleticsroll for a NPC with STR-Mod 1, athletics skill @{athletics} is empty, general skill @{generic_skill_mod} is -3
Current: In case that general skill is a negative number, nothing happens when you want to roll a skill check.
Expected: 1d20+-3[Bonus]+1[Str]The value for the attribute bonus (in this case +1 because of Str) is correct, but it says always Dex instead of the correct attribute modifier. This is just a visual bug! (For Athletics, Line 4454 on GitHub, [Dex] is hardcoded (probably copy paste error)
Unluckly the same thing is happening for me. :/ Posting cause I think that the problem wasn't seen.