Sebaestschjin/gloomhaven-campaign-manager

Removing all cards from decks won't work for all decks

Closed this issue · 1 comments

For some decks it's not yet possible to draw all cards. Due to timing, the deck will be gone when there's only one card left. The deck.remainder has to be used. Would be cool, if that can be wrapped so that the special handling doesn't have to be included in all functions dealing with the decks.

  • Random Scenarios
  • Personal Quests
  • City Events
  • Road Events
  • Reward Items (though I'm not sure if that is even possible game wise)
  • Ability Deck (not possible game wise, but would be good for testing whether all ability cards can be loaded)

Fixed with 48d72c4