tidy5e-sheet
tidy5e-sheet copied to clipboard
Character Sheet Visual Bug: Spell Attack Mod does not update properly
After some testing it would seem the Attack mod parses only the first 2 characters from data.bonuses.rsak.attack and ignores the rest of the bonuses that might be added by class features when displaying on the bottom corner of the character sheet. They do however roll correctly in the game. The expected mod in this silly test was +25
Try it know and see if I fixed it in the recent update (v10 only).
The Attack Mod calculation seems to break if there is a roll formula in the ranged spell attack bonus (either with an AE or added in the Special Traits) such as with Bless
Should be fixed in the next update.
Update is released. Please try it now :)
The Attack mod does display now, and no errors are thrown, but humorously the sheet updates each time, "rolling" the d4 for the calculation.
https://user-images.githubusercontent.com/86370342/188745115-21336725-1ff6-44cf-98c7-f3c69474970f.mp4
Yep, that's how it is. How else could it be. There is a random element in the bonus so each time the sheet is opened it is evaluated. Because of that I put the label explaining where the value is coming from.