moo-man / WFRP4e-FoundryVTT

The premiere system for running grim and perilous games of Warhammer Fantasy Role-play in the Foundry VTT environment.
Apache License 2.0
87 stars 52 forks source link

[WFRP4e System] Customizing Species Roll Table Breaks Random Species Rolling #2182

Open moo-man opened 1 month ago

moo-man commented 1 month ago

If using a custom species roll table for chargen (or modified base table), the species rolling function stops working correctly. the species work correctly on selecting in the species dialog of the chargen, but when rolling, the subspecies are not exposed (if there are subspecies) and pressing submit gives an error saying a species must be selected before submitting.

Since the table clearly works when manually selecting the species, there must be something in the species rolling function that doesn't work with the new species table or the added result in the modified table (without manual selection, meaning the bonus xp for random species is lost).
From: editorism
foundry: 12.330
wfrp4e: 7.2.4
wfrp4e-altdorf: 5.0.3
wfrp4e-archives1: 5.0.2
wfrp4e-archives2: 5.0.1
wfrp4e-core: 5.0.7
wfrp4e-dotr: 5.0.5
wfrp4e-eis: 5.0.3
wfrp4e-empire-ruins: 5.0.4
wfrp4e-horned-rat: 5.0.4
wfrp4e-middenheim: 5.0.2
wfrp4e-owb1: 5.0.3
wfrp4e-owb2: 5.0.4
wfrp4e-pbtt: 5.0.5
wfrp4e-rnhd: 5.0.2
wfrp4e-starter-set: 5.0.3
wfrp4e-up-in-arms: 5.0.3
wfrp4e-wom: 5.0.4
wfrp4e-zoo: 5.0.2
Active Modules: ATL, _chatcommands, chat-commander-wfrp4e, dice-so-nice, drag-ruler, forien-armoury, foundryvtt-simple-calendar, fuzzy-foundry, fxmaster, lib-wrapper, monks-active-tiles, monks-wall-enhancement, smalltime, socketlib, token-action-hud-core, token-action-hud-wfrp4e, wfrp4e-dotr-maps, wfrp4e-eis-maps, wfrp4e-random-treasure, forge-vtt, forge-vtt-optional