Skip to content

Placeholder Faces / CopyFaceFrom#10288

Merged
tehdiplomat merged 3 commits intoCard-Forge:masterfrom
Jetz72:placeholderFaces
Apr 11, 2026
Merged

Placeholder Faces / CopyFaceFrom#10288
tehdiplomat merged 3 commits intoCard-Forge:masterfrom
Jetz72:placeholderFaces

Conversation

@Jetz72
Copy link
Copy Markdown
Contributor

@Jetz72 Jetz72 commented Apr 4, 2026

Adds the syntax CopyFaceFrom:<card face name> to card scripts. Doing this will inherit the entire card face defined in a separate card script. A couple playtest split cards are included which use and demonstrate this feature, but it primarily enables Prepare creatures to reference existing spells (#10233).

Updates some parts of the code that use getAllCards(cardName) to use getAllCardsNoAlt(cardName), now that the distinction is more meaningful. Added a doc comment on each with detailed examples, but in essence, the former will find any card that has the given name on any of its faces, and the latter will only match a full card name.

@Jetz72 Jetz72 added Enhancement New feature or request Upcoming Set Un-Cards Support or implementations for silver-border, playtest, or otherwise non-legal cards. CardDB Loading, storing, and searching CardRules and PaperCard data labels Apr 4, 2026
Comment thread forge-core/src/main/java/forge/card/CardRules.java
Comment thread forge-core/src/main/java/forge/card/CardRules.java Outdated
@Hanmac Hanmac requested review from Agetian, Eradev and kevlahnota April 7, 2026 07:36
@Hanmac
Copy link
Copy Markdown
Contributor

Hanmac commented Apr 8, 2026

@tool4ever @tehdiplomat can this be merged as requirement for #10233 ?

@tehdiplomat tehdiplomat merged commit 816ea02 into Card-Forge:master Apr 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CardDB Loading, storing, and searching CardRules and PaperCard data Enhancement New feature or request Un-Cards Support or implementations for silver-border, playtest, or otherwise non-legal cards. Upcoming Set

Projects

Development

Successfully merging this pull request may close these issues.

4 participants