Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cardstates after creating token from prototype #5676

Merged
merged 3 commits into from
Jul 24, 2024

Conversation

tool4ever
Copy link
Contributor

@tool4ever tool4ever commented Jul 22, 2024

Reverts the previous cleanup.

@Hanmac
The problem is when the final token gets created from its prototype the traits that get copied over will have that original CardState instead.

Since this seems to be a bigger flaw in the engine related to #143 I probably can't do anything else here 🤔

Closes #5677

@tool4ever tool4ever added the Card Patch Fixing bugged card scripts label Jul 22, 2024
@Hanmac
Copy link
Contributor

Hanmac commented Jul 22, 2024

i think it should be easier to fix the Token Creation about that "OriginalHost" for such case means the Created Token, and not the Token Prototype

probably in between:
Create Prototype
Make Tokens
(update their intrinsic CardTraits that have the Prototype as OriginalHost to have the Token instead)
ETB the Tokens

@tool4ever tool4ever changed the title Hotfix for Toggo rock Update cardstates after creating token from prototype Jul 23, 2024
@Agetian Agetian merged commit 07eae3c into Card-Forge:master Jul 24, 2024
2 checks passed
@tool4ever tool4ever deleted the hotFix branch July 27, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Card Patch Fixing bugged card scripts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug with Eriette, the Beguiler
3 participants