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

Method cleanupExiledWith

forge-game/src/main/java/forge/game/card/Card.java:2156–2168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2154 }
2155
2156 public final void cleanupExiledWith() {
2157 if (exiledWith == null || exiledWith.isLKI()) {
2158 return;
2159 }
2160
2161 // TODO this may not find the right card in case the ability was granted
2162 exiledWith.removeExiledCard(this);
2163 exiledWith.removeUntilLeavesBattlefield(this);
2164
2165 exiledWith = null;
2166 exiledBy = null;
2167 exiledSA = null;
2168 }
2169
2170 public final Player getExiledBy() { return exiledBy; }
2171 public final void setExiledBy(final Player ep) {

Callers 2

addAndUnfreezeMethod · 0.95
changeZoneMethod · 0.80

Calls 3

isLKIMethod · 0.80
removeExiledCardMethod · 0.80

Tested by

no test coverage detected