Skip to content

AttackRequirement: use StaticAbility instead of Keywords#9747

Merged
tool4ever merged 2 commits intomasterfrom
staticAttackRequirement
Feb 14, 2026
Merged

AttackRequirement: use StaticAbility instead of Keywords#9747
tool4ever merged 2 commits intomasterfrom
staticAttackRequirement

Conversation

@Hanmac
Copy link
Contributor

@Hanmac Hanmac commented Feb 14, 2026

Closes #3593

This replaces the Magnet Logic and the other two instances with StaticAbilities

(War Toll might be changed later for SharedTurn stuff)

@Hanmac Hanmac force-pushed the staticAttackRequirement branch from 2b3d908 to 132682f Compare February 14, 2026 10:23
@Hanmac
Copy link
Contributor Author

Hanmac commented Feb 14, 2026

@tool4ever
StaticAbilityMustAttack::mustAttackSpecific probably should also be refactored into a Multimap?

@tool4ever
Copy link
Contributor

maybe if it'll look cleaner / help performance?

@Hanmac
Copy link
Contributor Author

Hanmac commented Feb 14, 2026

maybe if it'll look cleaner / help performance?

Maybe, I think I need to refactor this one later too 🤔

@Hanmac Hanmac marked this pull request as ready for review February 14, 2026 11:01
@Hanmac Hanmac force-pushed the staticAttackRequirement branch from 132682f to 130cb5c Compare February 14, 2026 14:44
@tool4ever tool4ever merged commit 4bc1792 into master Feb 14, 2026
8 checks passed
@Hanmac Hanmac deleted the staticAttackRequirement branch February 15, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AttackConstraints: turn Magnet Keyword into Static Abilities

2 participants