Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

4e character sheet appears to have a mistake

In example powers, the melee basic power calculates the floor of level over 21 for the number of damage dice, but shouldn't it be the ceiling of level over 20?
1430537787

Edited 1430537921
Lithl
Pro
Sheet Author
API Scripter
At-wills don't get their bonus until level 21. ceil(1 / 20) = 1 (wrong) ceil(10 / 20) = 1 (wrong) ceil(20 / 20) = 1 (wrong) ceil(21 / 20) = 2 (very wrong) ceil(30 / 20) = 2 (still wrong) ceil(1 / 21) = 1 (wrong) ceil(10 / 21) = 1 (wrong) ceil(20 / 21) = 1 (wrong) ceil(21 / 21) = 1 (right) ceil(30 / 21) = 2 (very wrong) floor(1 / 21) = 0 (right) floor(10 / 21) = 0 (right) floor(20 / 21) = 0 (right) floor(21 / 21) = 1 (right) floor(30 / 21) = 1 (still right) floor(1 / 20) = 0 (right) floor(10 / 20) = 0 (right) floor(20 / 20) = 1 (wrong) floor(21 / 20) = 1 (right) floor(30 / 20) = 1 (right) As you can see, the result is only correct for all levels with floor(@{level} / 21). It's also worth pointing out that the macros that're pre-filled out on the 4e sheet are just examples of how to use the attributes. =)
Ahh, I think I know what's happened. I changed something else in the code at the same time and forgot about it.
Rather than create a new one I'll just resurrect this one I suppose :) Wisdom is not automatically factoring into the calculation of Will defense at all when it should be. Charisma appears to be working correctly as far as defenses go and Wisdom is being added correctly to skills. I'd fix it myself but I'm not very proficient with character sheet editting on Roll20 and would probably create more problems than I solve :D
1431282257
Lithl
Pro
Sheet Author
API Scripter
Sean M. said: Rather than create a new one I'll just resurrect this one I suppose :) Wisdom is not automatically factoring into the calculation of Will defense at all when it should be. Charisma appears to be working correctly as far as defenses go and Wisdom is being added correctly to skills. Click on the settings tab. Near the bottom is a section to define what abilities are used to calculate each skill. While normally each defense uses the higher of two of your ability modifiers, there are ways to change what ability applies where (especially when it comes to AC). The sheet author opted to simply let you pick manually, instead of running into trouble in those corner cases.
Wow I totally missed that, thanks!