SotMSteamMods / CauldronMods

Mod adaptations of the Cauldron decks for Sentinels of the Multiverse for Steam Workshop
MIT License
15 stars 9 forks source link

Vanish - Forewarned causes soft lock with Isolated Hero #1656

Closed origamiswami closed 7 months ago

origamiswami commented 8 months ago

Describe the bug If Isolated Hero is in play, and either Vanish's Forewarned would make the isolated hero draw cards or if Vanish is isolated and Forewarned would make another hero draw cards, the game enters an infinite loop of trying to make that hero draw cards.

What does it affect Card(s): Forewarned Deck(s): Vanish

To Reproduce Steps to reproduce the behavior:

  1. Play with Vanish against Miss Information
  2. Have Isolated Hero in play next to Vanish
  3. Have less than 3 cards in any other hero's hand
  4. At the start of Vanish's turn, choose to destroy Forewarned

Expected behavior It should not even attempt to make other heroes draw cards while Vanish is isolated. I think this can be fixed by making Forewarned use something like GameController.SelectTurnTakersAndDoAction() instead of just looping through each HeroTurnTakerController with a foreach. Isolated Hero should remove heroes from the decision and prevent the infinite loop.