MCPcopy Create free account
hub / github.com/Card-Forge/forge / remove

Method remove

forge-game/src/main/java/forge/game/StaticEffect.java:176–178  ·  view source on GitHub ↗

Undo everything that was changed by this effect. @return a CardCollectionView of all affected cards.

(Map<StaticAbilityLayer, Set<Card>> affectedPerLayer)

Source from the content-addressed store, hash-verified

174 * @return a {@link CardCollectionView} of all affected cards.
175 */
176 final CardCollectionView remove(Map<StaticAbilityLayer, Set<Card>> affectedPerLayer) {
177 return remove(affectedPerLayer, StaticAbilityLayer.CONTINUOUS_LAYERS);
178 }
179 final CardCollectionView remove(Map<StaticAbilityLayer, Set<Card>> affectedPerLayer, List<StaticAbilityLayer> layers) {
180 final CardCollectionView affectedCards = getAffectedCards();
181 final List<Player> affectedPlayers = getAffectedPlayers();

Callers 2

removeStaticEffectMethod · 0.95
removeMappedMethod · 0.45

Calls 15

getAffectedCardsMethod · 0.95
getAffectedPlayersMethod · 0.95
hasParamMethod · 0.95
getSourceMethod · 0.95
getTimestampMethod · 0.95
addCardMethod · 0.95
setUnlimitedHandSizeMethod · 0.80
setMaxHandSizeMethod · 0.80
getStartingHandSizeMethod · 0.80
removeMaxLandPlaysMethod · 0.80

Tested by

no test coverage detected