mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
[SLD] Implement Nathan Drake, Treasure Hunter
This commit is contained in:
parent
89f2efd7a9
commit
a3e155918b
3 changed files with 144 additions and 0 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue