Skip to content

Add transfrom and upgrade preview in SelectCardsInHandAction#105

Open
Celicath wants to merge 2 commits intokiooeht:developfrom
Celicath:better-select
Open

Add transfrom and upgrade preview in SelectCardsInHandAction#105
Celicath wants to merge 2 commits intokiooeht:developfrom
Celicath:better-select

Conversation

@Celicath
Copy link
Copy Markdown
Contributor

@Celicath Celicath commented Sep 3, 2025

The first commit

Add forTransform and forUpgrade parameters, which is used in HandCardSelectScreen::open.

The following is what happens If you set forUpgrade to true.

image

The second commit

Allows you to provide a custom preview function. Basegame's forUpgrade only supports upgrades, but this allows you to preview with other modifiers as well.

image

I'm not sure if adding a single overload is enough, but I did it this way because there are too many constructor overloads already.

@Celicath Celicath changed the base branch from master to develop September 3, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant