-
Notifications
You must be signed in to change notification settings - Fork 842
Fix Outpost Siege interaction and update Card lethal logic (Issue #4745) #9717
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
base: master
Are you sure you want to change the base?
Conversation
…ngesZone excludes Stack/Exile + Exiled). Initialize Localizer/Lang to prevent NPE during GameType init.
…tions to aid Outpost Siege simulations. Keep Issue4745Test disabled until full phase-driven harness is ready.
|
Why are three different "issues" being lumped together in a single PR? |
|
thanks for contributing |
forge-game/src/test/java/forge/game/ability/ForgetOnMovedTest.java
Outdated
Show resolved
Hide resolved
|
@tehdiplomat I apologize for lumping the changes. They were discovered while working on the Outpost Siege interaction and felt related enough to include together. I will make sure to separate unrelated changes in future PRs. @tool4ever Thanks for the recommendation on #9703, I will definitely check it out to better understand the static abilities. I have also pushed a fix for the hardcoded path you noticed. |
This PR fixes an issue with Outpost Siege where the exiled card interaction was using 'ExileOnMoved' instead of 'ForgetOnMoved', causing incorrect behavior when the card left the battlefield. It also updates Card.java to correctly check for 'LethalDamageByPower' static abilities in the getLethal() method.