Basic Weakness randomizer can select invalid class-locked weaknesses
mikecheb opened this issue · comments
mikecheb commented
The Scarlet Keys introduced weaknesses which are only available to investigators of a specific class. The randomizer logic should be updated to prevent, for example, Pay Your Due (Rogue-only) from being selected for Agnes.
Presumably, this is where such logic would belong. Currently, the only filtering is for weaknesses in the user's collection:
arkhamdb/src/AppBundle/Resources/public/js/ui.deckedit.js
Lines 1123 to 1142 in c41d74e
I might work on this if I find some time in the next week or two.