Make AttachTo tokens work from non-table zones (#5629)

* move card to play before creating attached token

* leave comment

* hardcode createCard target zone to table

To get attached token from graveyard/exile to work
This commit is contained in:
RickyRister 2025-02-16 14:02:45 -08:00 committed by GitHub
parent 01d5e58a5f
commit 5c8d1f3cff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 4 deletions

View file

@ -402,7 +402,7 @@ public:
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;
void playCard(CardItem *c, bool faceDown);
void playCardToTable(CardItem *c, bool faceDown);
void playCardToTable(const CardItem *c, bool faceDown);
void addCard(CardItem *c);
void deleteCard(CardItem *c);
void addZone(CardZone *z);