Planar Nexus and support

This commit is contained in:
tool4EvEr
2024-05-16 17:23:55 +02:00
committed by Hans Mackowiak
parent 303a1144d4
commit 6f27c56b21
3 changed files with 14 additions and 0 deletions

View File

@@ -959,6 +959,9 @@ public final class CardType implements Comparable<CardType>, CardTypeView {
public static Collection<String> getBasicTypes() {
return Collections.unmodifiableCollection(Constant.BASIC_TYPES);
}
public static Collection<String> getNonBasicTypes() {
return Collections.unmodifiableCollection(Constant.LAND_TYPES);
}
public static Collection<String> getAllCreatureTypes() {
return Collections.unmodifiableCollection(Constant.CREATURE_TYPES);

View File

@@ -423,6 +423,10 @@ public final class StaticAbilityContinuous {
newTypes.addAll(CardType.getBasicTypes());
return true;
}
if (input.equals("AllNonBasicLandType")) {
newTypes.addAll(CardType.getNonBasicTypes());
return true;
}
return false;
}
});

View File

@@ -0,0 +1,7 @@
Name:Planar Nexus
ManaCost:no cost
Types:Land
S:Mode$ Continuous | Affected$ Card.Self | CharacteristicDefining$ True | AddType$ AllNonBasicLandType | Description$ CARDNAME is every nonbasic land type.
A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}.
A:AB$ Mana | Cost$ 1 T | Produced$ Any | SpellDescription$ Add one mana of any color.
Oracle:Planar Nexus is every nonbasic land type.\n{T}: Add {C}.\n{1}, {T}: Add one mana of any color.