Fix Assimilation Aegis

* Token copies were not able to select a creature from exile to copy
This commit is contained in:
jmlundeen 2025-04-14 16:58:40 -05:00
parent b32fd1b9d7
commit 3885e72aad

View file

@ -88,7 +88,7 @@ class AssimilationAegisEffect extends OneShotEffect {
if (player == null) { if (player == null) {
return false; return false;
} }
UUID exileId = CardUtil.getExileZoneId(game, source); UUID exileId = CardUtil.getCardExileZoneId(game, source);
TargetCard target = new TargetCardInExile(StaticFilters.FILTER_CARD_CREATURE, exileId); TargetCard target = new TargetCardInExile(StaticFilters.FILTER_CARD_CREATURE, exileId);
target.withNotTarget(true); target.withNotTarget(true);
if (!target.choose(Outcome.Benefit, player.getId(), source.getId(), source, game)) { if (!target.choose(Outcome.Benefit, player.getId(), source.getId(), source, game)) {