StaticAbilityManaRestriction: better ability for Myr Superion - #11700
StaticAbilityManaRestriction: better ability for Myr Superion#11700Hanmac wants to merge 5 commits into
Conversation
There was a problem hiding this comment.
no sorry, I think that's a terrible idea:
a) just introduces a secondary way since you can't even remove the ManaRestriction$
b) more importantly we're spending hours thinking about CardTraits caching to speed up AI turns - this just introduces another expensive check in a place like allowsPayingWithShard which will get called multiple times per mana source and per SA every priority window...all that for a tiny refactor of 3 cards?! 👎
|
@tool4ever |
Restrict to just getHostCard
fix import
|
@tool4ever this should reduce the amount of StaticAbility calls
This is because these 3 are done as Static Ability, while the other are part of Activated Ability or Alternative Cost. |
|
Hmn, I need to think if we can find a way to support Throne of Eldraine too? |
This is part as ONE Ability, so I don't think we should split it. |
|
I still want to check some alternatives, maybe storing it inside |
Closes #11689