[GTC] updated implementation of Bane Alley Broker

This commit is contained in:
Evan Kranzler 2021-02-19 14:47:47 -05:00
parent 22ac79c325
commit a8bda04daf
3 changed files with 99 additions and 98 deletions

View file

@ -586,6 +586,10 @@ public final class CardUtil {
return getExileZoneId(getCardZoneString(SOURCE_EXILE_ZONE_TEXT, sourceId, game, previous), game);
}
public static UUID getExileZoneId(Game game, Ability source) {
return getExileZoneId(game, source.getSourceId(), source.getSourceObjectZoneChangeCounter());
}
public static UUID getExileZoneId(Game game, UUID objectId, int zoneChangeCounter) {
return getExileZoneId(getObjectZoneString(SOURCE_EXILE_ZONE_TEXT, objectId, game, zoneChangeCounter, false), game);
}