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

Method exile

forge-game/src/main/java/forge/game/GameAction.java:906–912  ·  view source on GitHub ↗
(final CardCollection cards, SpellAbility cause, Map<AbilityKey, Object> params)

Source from the content-addressed store, hash-verified

904 }
905
906 public final CardCollection exile(final CardCollection cards, SpellAbility cause, Map<AbilityKey, Object> params) {
907 CardCollection result = new CardCollection();
908 for (Card card : cards) {
909 result.add(exile(card, cause, params));
910 }
911 return result;
912 }
913 public final Card exile(final Card c, SpellAbility cause, Map<AbilityKey, Object> params) {
914 final Zone origin = c.getZone();
915 final PlayerZone removed = c.getOwner().getZone(ZoneType.Exile);

Callers 15

moveToMethod · 0.95
exileEffectMethod · 0.95
onPlayerLostMethod · 0.80
doListPaymentMethod · 0.80
payAsDecidedMethod · 0.80
doPaymentMethod · 0.80
doListPaymentMethod · 0.80
doListPaymentMethod · 0.80
adjustMethod · 0.80
resolveMethod · 0.80
resolveMethod · 0.80

Calls 13

moveToMethod · 0.95
mapFromCardMethod · 0.95
getZoneTypeMethod · 0.95
runTriggerMethod · 0.80
getTriggerHandlerMethod · 0.80
addMethod · 0.65
getOwnerMethod · 0.65
getZoneMethod · 0.45
isImmutableMethod · 0.45
putMethod · 0.45
nameMethod · 0.45
putAllMethod · 0.45

Tested by

no test coverage detected