[SLD] Implement Nathan Drake, Treasure Hunter

This commit is contained in:
theelk801 2025-12-19 09:28:57 -05:00
parent 89f2efd7a9
commit a3e155918b
3 changed files with 144 additions and 0 deletions

View file

@ -1453,6 +1453,9 @@ public final class CardUtil {
public static List<Card> getCastableComponents(Card cardToCast, FilterCard filter, Ability source, Player player, Game game, SpellCastTracker spellCastTracker, boolean playLand) {
UUID playerId = player.getId();
List<Card> cards = new ArrayList<>();
if (cardToCast == null) {
return cards;
}
if (cardToCast instanceof CardWithHalves) {
cards.add(((CardWithHalves) cardToCast).getLeftHalfCard());
cards.add(((CardWithHalves) cardToCast).getRightHalfCard());