Skip to content

Don't allow auto pump and break when Unsmiling Tsarevna rez ability triggered#7936

Merged
NoahTheDuke merged 1 commit intomtgred:masterfrom
butzopower:unsmiling-autobreak
Feb 22, 2025
Merged

Don't allow auto pump and break when Unsmiling Tsarevna rez ability triggered#7936
NoahTheDuke merged 1 commit intomtgred:masterfrom
butzopower:unsmiling-autobreak

Conversation

@butzopower
Copy link
Contributor

@butzopower butzopower commented Feb 1, 2025

Fixes #6844

Couldn't really work out a better way to do this.

I looked at Afshar and Ahket and both those use :breakable functions on their subroutines and then return :unrestricted when the qualifying static condition is not true - but when the condition is true then the auto-break code doesn't actually care if the `:breakable: function returns true or false and decides the ice can't be auto-broken.

I'm not sure how I'd replace the current :cannot-break-subs-on-ice lingering effect with a similar :breakable functions on subs that checks if the Corp has given the Runner 2 credits.

So instead just opted for an additional lingering "effect" which the auto-break code guards against.

@NoahTheDuke NoahTheDuke merged commit 86aa967 into mtgred:master Feb 22, 2025
3 checks passed
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.

Unsmiling Tsarevna on rez effect and "increase strength and break all subs"

2 participants