mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Planar Nexus and support
This commit is contained in:
committed by
Hans Mackowiak
parent
303a1144d4
commit
6f27c56b21
@@ -959,6 +959,9 @@ public final class CardType implements Comparable<CardType>, CardTypeView {
|
|||||||
public static Collection<String> getBasicTypes() {
|
public static Collection<String> getBasicTypes() {
|
||||||
return Collections.unmodifiableCollection(Constant.BASIC_TYPES);
|
return Collections.unmodifiableCollection(Constant.BASIC_TYPES);
|
||||||
}
|
}
|
||||||
|
public static Collection<String> getNonBasicTypes() {
|
||||||
|
return Collections.unmodifiableCollection(Constant.LAND_TYPES);
|
||||||
|
}
|
||||||
|
|
||||||
public static Collection<String> getAllCreatureTypes() {
|
public static Collection<String> getAllCreatureTypes() {
|
||||||
return Collections.unmodifiableCollection(Constant.CREATURE_TYPES);
|
return Collections.unmodifiableCollection(Constant.CREATURE_TYPES);
|
||||||
|
|||||||
@@ -423,6 +423,10 @@ public final class StaticAbilityContinuous {
|
|||||||
newTypes.addAll(CardType.getBasicTypes());
|
newTypes.addAll(CardType.getBasicTypes());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (input.equals("AllNonBasicLandType")) {
|
||||||
|
newTypes.addAll(CardType.getNonBasicTypes());
|
||||||
|
return true;
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
7
forge-gui/res/cardsfolder/upcoming/planar_nexus.txt
Normal file
7
forge-gui/res/cardsfolder/upcoming/planar_nexus.txt
Normal 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.
|
||||||
Reference in New Issue
Block a user