[SUPPORT] Roguelike Deckbuilder Toolkit

Yet a new update is out. Short time since the last one, but there were so many devs that wanted to have multiple heroes in their games that I felt the need to improve this functionality immediately. I also needed to fix one more game breaking bug. Here are the changes:

v.1.1

  1. Fixed bug where attempting to draw a card with no cards in either the draw or discard pile would cause an infinite loop.
  2. Refactored several parts of the code where a single hero was assumed, to allow for multiple heroes.
  3. Added option for selecting multiple heroes and multiple decks in the menu. Note, the existing cards and enemies are not designed with multiple heroes in mind, so even though it works it does not make sense gameplay wise. Intended as a starting point. Not enabled by default. Increase MaxHeroes in the WBP_HeroAddBox widget in WBP_MainMenu_RLDB to enable.
  4. Added Manny the mannequin as alternate hero.
  5. Cards belonging to a hero are exhausted on that hero’s death.