arkhamdb icon indicating copy to clipboard operation
arkhamdb copied to clipboard

Addition of Versatile still triggers "Contains forbidden cards" alert for investigators that have limits of cards of other class

Open VladShubnikov opened this issue 1 year ago • 3 comments

Issue: If Versatile is added to a deck of investigator who has limits of cards level 0 for other classes and you add one more card of level 0 the alert "Contains forbidden cards (cards not permitted by Investigator)" is displayed.

STR:

  1. Create Carolyn Fern's deck, she has deckbuilding rule: up to 15 other Seeker and/or Mystic cards level 0-1.
  2. Add Versatile, this should increase limit for cards to 16
  3. Add 16 level 0 cards of Seeker and/or Mystic that do not heal horror

Actual result: error "Contains forbidden cards (cards not permitted by Investigator)" is displayed Expected result: no errors are displayed unless 17 level 0 cards of Seeker and/or Mystic that do not heal horror are added

VladShubnikov avatar Jan 13 '24 17:01 VladShubnikov

Hi, After some testing found that addition of customizable cards triggers this bug.

For example, adding of Empirical Hypothesis (https://arkhamdb.com/card/09041) with any upgrade counts as 2 cards of seeker class.

VladShubnikov avatar Jan 16 '24 10:01 VladShubnikov

If you check a box on customizable, it is no longer a level 0 card and therefore can't be included with versatile.

zzorba avatar Jan 16 '24 13:01 zzorba

Which means fix is probably to sort cards by descending XP before checking which rule they apply to, on assumption that higher XP cards have more constraints.

zzorba avatar Jan 16 '24 13:01 zzorba