foundryvtt-shadowdark icon indicating copy to clipboard operation
foundryvtt-shadowdark copied to clipboard

Bug: Character Generator improperly displays modifiers in stat box

Open TheBrianFactor opened this issue 1 year ago • 1 comments

As title suggests, using the Character Generator to roll a character, the "Stats" section improperly displays modifiers associated with the rolled ability score. See picture: image Proper scores should be: STR: +3 (incorrect) DEX: +3 (incorrect) CON: 0 (correct) INT: +1 (correct) WIS: +2 (incorrect) CHA: 0 (incorrect)

TheBrianFactor avatar May 17 '24 21:05 TheBrianFactor

It's worse than that it would seem. If you click to roll for stats, it doesn't take effect until you roll for any other field in the character generator. The first time I click on the dice icon for Stats, everything remains as 10's. It's not until I click on the dice for any other field in the Character Generator that it updates the stats to what I rolled. If I attempt to re-roll, it doesn't automatically update the select boxes, but the modifiers change to reflect the new rolls. I have to re-roll another field to get the stat values to show up properly.

ScoobyTchotchke avatar May 24 '24 23:05 ScoobyTchotchke

Root cause of this is that .foreach() functions can't work asynchronously.

PrototypeESBU avatar May 26 '24 16:05 PrototypeESBU