Skip to content

Remove MapToAmount (issue #9739)#9744

Open
kojotak wants to merge 16 commits intoCard-Forge:masterfrom
kojotak:9739_MapToAmount
Open

Remove MapToAmount (issue #9739)#9744
kojotak wants to merge 16 commits intoCard-Forge:masterfrom
kojotak:9739_MapToAmount

Conversation

@kojotak
Copy link
Contributor

@kojotak kojotak commented Feb 13, 2026

Simple replacement of MapToAmount to Map<T, Integer>.

This is my first pull request, so it lacks any game logic optimalization. It just removes the MapToAmount, utils and both implementations.

@kojotak kojotak mentioned this pull request Feb 13, 2026
@Hanmac
Copy link
Contributor

Hanmac commented Feb 14, 2026

was a bit too early, i wanted to refactor some of the stuff anyway, see #9747

…' into 9739_MapToAmount

# Conflicts:
#	forge-game/src/main/java/forge/game/combat/AttackConstraints.java
#	forge-game/src/main/java/forge/game/combat/GlobalAttackRestrictions.java
@kojotak
Copy link
Contributor Author

kojotak commented Feb 14, 2026

I've merged #9747 here, so there should be no conflict afterwards

@tool4ever tool4ever requested a review from Hanmac February 15, 2026 11:00
@Hanmac
Copy link
Contributor

Hanmac commented Feb 15, 2026

@tool4ever i want to change the playerRequirements into a Multimap<GameEntity, StaticAbility> or Multimap<StaticAbility, GameEntity> (what exactly i'm not sure yet)
i'm trying to work the kinks out of it => #9757

Removed unused mapToAmount method from AttackConstraints.
@tool4ever
Copy link
Contributor

@Hanmac
should be ready now?

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.

3 participants