-
Notifications
You must be signed in to change notification settings - Fork 571
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
Room: First Spell Part #6044
Room: First Spell Part #6044
Conversation
I will add Unlock Door Param/Action for SetState. With this, I can better control into which state it should change:
|
One thing that might be different is that old Split cards could have different types. |
The empty state will be room specific, so it will not collide with old split cards |
@tool4ever added Unlock Action and Unlock Trigger (might add more info like GameLog Message?) I haven't tested it yet with clone Effects. @kevlahnota really need to help me to fix the visual on the battlefield |
@tool4ever can you help me to wire it what should happen if a something becomes a copy of a Room, or a Room becomes a copy of another Room? |
Needed to fix this crash when copying permanent:
|
forge-game/src/main/java/forge/game/trigger/TriggerUnlockDoor.java
Outdated
Show resolved
Hide resolved
@tool4ever @Agetian @tehdiplomat i need some better logic for "Choose Door to unlock" my function needs the CardStateName, but the GUI function might want the ICardFace name? |
forge-game/src/main/java/forge/game/ability/effects/UnlockDoorEffect.java
Outdated
Show resolved
Hide resolved
I checked out the card rendering and the way split states get handled makes drawing something meant for both a bit tricky (this could also work with Fuse) |
Update ThisDoor Check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems no room got printed with RE / or activated ability 🤷♂️
so I feel like it's pretty ready
I think the LookOrUnlock part might need some polish Also the AI part might need to be tweaked |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Hanmac
we need to fix sharesNameWith(final String name)
with locked checks somehow
If I cast the same room once with left and once with right Echoing Calm can destroy both
that should be fixed? |
Closes #6033
Unlock this Door
should look for the CardState property of the Special Action