open-duelyst / duelyst

Duelyst is a digital collectible card game and turn-based strategy hybrid, developed by Counterplay Games.
Creative Commons Zero v1.0 Universal
3.63k stars 559 forks source link

You can build a Deck with less than 40 cards, circumventing deckbuilding restrictions #266

Closed Ein666 closed 1 year ago

Ein666 commented 1 year ago

Summary

The game allows you to queue with decks that are less than 40 cards (39+General).

Steps to reproduce

  1. Create a deck with less than 40 cards
  2. Queue into a game, either Practice or Ladder.

Environment information

Screenshots below show being in a game with only an 8 card mech deck

M7Th3tP Duelyst_02LqNIhYMX

willroberts commented 1 year ago

We were discussing this on the Discord yesterday; it seems to occur due to this line: https://github.com/open-duelyst/duelyst/blob/main/app/ui/models/deck.js#L396

I'll change this today.

willroberts commented 1 year ago

Fixed in #268