mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Added the Eldrazi Drones and a couple of extra Eldrazi Spawn cards.
This commit is contained in:
@@ -1,3 +1,42 @@
|
||||
Skittering Invasion
|
||||
7
|
||||
Tribal Sorcery Eldrazi
|
||||
Put five 0/1 colorless Eldrazi Spawn creature tokens onto the battlefield. They have "Sacrifice this creature: Add 1 to your mana pool."
|
||||
|
||||
Growth Spasm
|
||||
2 G
|
||||
Sorcery
|
||||
Search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library. Put a 0/1 colorless Eldrazi Spawn creature token onto the battlefield. It has "Sacrifice this creature: Add 1 to your mana pool."
|
||||
|
||||
Nest Invader
|
||||
1 G
|
||||
Creature Eldrazi Drone
|
||||
When Nest Invader enters the battlefield, put a 0/1 colorless Eldrazi Spawn creature token onto the battlefield. It has "Sacrifice this creature: Add 1 to your mana pool."
|
||||
2/2
|
||||
|
||||
Kozilek's Predator
|
||||
3 G
|
||||
Creature Eldrazi Drone
|
||||
When Kozilek's Predator enters the battlefield, put two 0/1 colorless Eldrazi Spawn creature tokens onto the battlefield. They have "Sacrifice this creature: Add 1 to your mana pool."
|
||||
2/2
|
||||
|
||||
Emrakul's Hatcher
|
||||
4 R
|
||||
Creature Eldrazi Drone
|
||||
When Emrakul's Hatcher enters the battlefield, put three 0/1 colorless Eldrazi Spawn creature tokens onto the battlefield. They have "Sacrifice this creature: Add 1 to your mana pool."
|
||||
3/3
|
||||
|
||||
Dread Drone
|
||||
4 B
|
||||
Creature Eldrazi Drone
|
||||
When Dread Drone enters the battlefield, put two 0/1 colorless Eldrazi Spawn creature tokens onto the battlefield. They have "Sacrifice this creature: Add 1 to your mana pool."
|
||||
4/1
|
||||
|
||||
Blood Birthing
|
||||
1 R
|
||||
Sorcery
|
||||
If you control an Eldrazi Spawn, put three 0/1 colorless Eldrazi Spawn creature tokens onto the battlefield. They have "Sacrifice this creature: Add 1 to your mana pool." Otherwise, put one of those tokens onto the battlefield.
|
||||
|
||||
Animate Artifact
|
||||
3 U
|
||||
Enchantment Aura
|
||||
|
||||
@@ -18653,6 +18653,86 @@ public class CardFactory implements NewConstants {
|
||||
card.addDestroyCommand(destroy);
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Blood Birthing")) {
|
||||
final SpellAbility spell = new Spell(card)
|
||||
{
|
||||
private static final long serialVersionUID = -8303724057068847270L;
|
||||
|
||||
public void resolve()
|
||||
{
|
||||
int times = 1;
|
||||
CardList cl;
|
||||
if (CardFactoryUtil.getCards("Eldrazi Spawn", card.getController()).size() > 0)
|
||||
times = 3;
|
||||
for (int i=0;i<times;i++)
|
||||
{
|
||||
cl = CardFactoryUtil.makeToken("Eldrazi Spawn", "C 0 1 Eldrazi Spawn", card, "C", new String[] {
|
||||
"Creature", "Eldrazi", "Spawn"}, 0, 1, new String[] {"Sacrifice CARDNAME: Add 1 to your mana pool."});
|
||||
for (Card crd:cl)
|
||||
crd.addSpellAbility(CardFactoryUtil.getEldraziSpawnAbility(crd));
|
||||
}
|
||||
}
|
||||
};
|
||||
spell.setStackDescription(cardName+" - " + card.getController() + " puts one or three 0/1 Eldrazi Spawn creature tokens onto the battlefield.");
|
||||
card.clearSpellAbility();
|
||||
card.addSpellAbility(spell);
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Growth Spasm")) {
|
||||
SpellAbility spell = new Spell(card) {
|
||||
|
||||
private static final long serialVersionUID = 9074719023825939855L;
|
||||
|
||||
@Override
|
||||
public void resolve() {
|
||||
AllZone.GameAction.searchLibraryBasicLand(card.getController(),
|
||||
Constant.Zone.Play, true);
|
||||
|
||||
CardList cl = CardFactoryUtil.makeToken("Eldrazi Spawn", "C 0 1 Eldrazi Spawn", card, "C", new String[] {
|
||||
"Creature", "Eldrazi", "Spawn"}, 0, 1, new String[] {"Sacrifice CARDNAME: Add 1 to your mana pool."});
|
||||
for (Card crd:cl)
|
||||
crd.addSpellAbility(CardFactoryUtil.getEldraziSpawnAbility(crd));
|
||||
}
|
||||
|
||||
public boolean canPlayAI()
|
||||
{
|
||||
PlayerZone library = AllZone.getZone(Constant.Zone.Library, Constant.Player.Computer);
|
||||
CardList list = new CardList(library.getCards());
|
||||
list = list.getType("Basic");
|
||||
return list.size() > 0;
|
||||
}
|
||||
};//SpellAbility
|
||||
card.clearSpellAbility();
|
||||
card.addSpellAbility(spell);
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Skittering Invasion")) {
|
||||
final SpellAbility spell = new Spell(card)
|
||||
{
|
||||
private static final long serialVersionUID = -8303724057068847270L;
|
||||
|
||||
public void resolve()
|
||||
{
|
||||
CardList cl;
|
||||
|
||||
for (int i=0;i<5;i++)
|
||||
{
|
||||
cl = CardFactoryUtil.makeToken("Eldrazi Spawn", "C 0 1 Eldrazi Spawn", card, "C", new String[] {
|
||||
"Creature", "Eldrazi", "Spawn"}, 0, 1, new String[] {"Sacrifice CARDNAME: Add 1 to your mana pool."});
|
||||
for (Card crd:cl)
|
||||
crd.addSpellAbility(CardFactoryUtil.getEldraziSpawnAbility(crd));
|
||||
}
|
||||
}
|
||||
};
|
||||
spell.setStackDescription(cardName+" - " + card.getController() + " puts one or three 0/1 Eldrazi Spawn creature tokens onto the battlefield.");
|
||||
card.clearSpellAbility();
|
||||
card.addSpellAbility(spell);
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
// Cards with Cycling abilities
|
||||
// -1 means keyword "Cycling" not found
|
||||
if(hasKeyword(card, "Cycling") != -1) {
|
||||
|
||||
@@ -17535,6 +17535,100 @@ public class CardFactory_Creatures {
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Kozilek's Predator") || cardName.equals("Dread Drone")) {
|
||||
final SpellAbility comesIntoPlayAbility = new Ability(card, "0") {
|
||||
@Override
|
||||
public void resolve() {
|
||||
makeToken();
|
||||
makeToken();
|
||||
}//resolve()
|
||||
|
||||
public void makeToken() {
|
||||
CardList cl = CardFactoryUtil.makeToken("Eldrazi Spawn", "C 0 1 Eldrazi Spawn", card, "C", new String[] {
|
||||
"Creature", "Eldrazi", "Spawn"}, 0, 1, new String[] {"Sacrifice CARDNAME: Add 1 to your mana pool."});
|
||||
for (Card crd:cl)
|
||||
crd.addSpellAbility(CardFactoryUtil.getEldraziSpawnAbility(crd));
|
||||
}
|
||||
|
||||
}; //comesIntoPlayAbility
|
||||
|
||||
Command intoPlay = new Command() {
|
||||
private static final long serialVersionUID = 4193134733200317562L;
|
||||
|
||||
public void execute() {
|
||||
comesIntoPlayAbility.setStackDescription(card.getName()
|
||||
+ " - put two 0/1 colorless Eldrazi Spawn creature tokens onto the battlefield.");
|
||||
AllZone.Stack.add(comesIntoPlayAbility);
|
||||
}
|
||||
};
|
||||
|
||||
card.addComesIntoPlayCommand(intoPlay);
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Emrakul's Hatcher")) {
|
||||
final SpellAbility comesIntoPlayAbility = new Ability(card, "0") {
|
||||
@Override
|
||||
public void resolve() {
|
||||
makeToken();
|
||||
makeToken();
|
||||
makeToken();
|
||||
}//resolve()
|
||||
|
||||
public void makeToken() {
|
||||
CardList cl = CardFactoryUtil.makeToken("Eldrazi Spawn", "C 0 1 Eldrazi Spawn", card, "C", new String[] {
|
||||
"Creature", "Eldrazi", "Spawn"}, 0, 1, new String[] {"Sacrifice CARDNAME: Add 1 to your mana pool."});
|
||||
for (Card crd:cl)
|
||||
crd.addSpellAbility(CardFactoryUtil.getEldraziSpawnAbility(crd));
|
||||
}
|
||||
|
||||
}; //comesIntoPlayAbility
|
||||
|
||||
Command intoPlay = new Command() {
|
||||
private static final long serialVersionUID = -8661023016178518439L;
|
||||
|
||||
public void execute() {
|
||||
comesIntoPlayAbility.setStackDescription(card.getName()
|
||||
+ " - put three 0/1 colorless Eldrazi Spawn creature tokens onto the battlefield.");
|
||||
AllZone.Stack.add(comesIntoPlayAbility);
|
||||
}
|
||||
};
|
||||
|
||||
card.addComesIntoPlayCommand(intoPlay);
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Nest Invader")) {
|
||||
final SpellAbility comesIntoPlayAbility = new Ability(card, "0") {
|
||||
@Override
|
||||
public void resolve() {
|
||||
makeToken();
|
||||
}//resolve()
|
||||
|
||||
public void makeToken() {
|
||||
CardList cl = CardFactoryUtil.makeToken("Eldrazi Spawn", "C 0 1 Eldrazi Spawn", card, "C", new String[] {
|
||||
"Creature", "Eldrazi", "Spawn"}, 0, 1, new String[] {"Sacrifice CARDNAME: Add 1 to your mana pool."});
|
||||
for (Card crd:cl)
|
||||
crd.addSpellAbility(CardFactoryUtil.getEldraziSpawnAbility(crd));
|
||||
}
|
||||
|
||||
}; //comesIntoPlayAbility
|
||||
|
||||
Command intoPlay = new Command() {
|
||||
private static final long serialVersionUID = 2179492272870559564L;
|
||||
|
||||
public void execute() {
|
||||
comesIntoPlayAbility.setStackDescription(card.getName()
|
||||
+ " - put a 0/1 colorless Eldrazi Spawn creature token onto the battlefield.");
|
||||
AllZone.Stack.add(comesIntoPlayAbility);
|
||||
}
|
||||
};
|
||||
|
||||
card.addComesIntoPlayCommand(intoPlay);
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
|
||||
|
||||
// Cards with Cycling abilities
|
||||
// -1 means keyword "Cycling" not found
|
||||
|
||||
Reference in New Issue
Block a user