- Converted Brood Birthing to script. Added flying to Oona, Queen of the Fae.

This commit is contained in:
jeffwadsworth
2011-11-10 23:25:39 +00:00
parent 39171f050d
commit 0827139b76
3 changed files with 21 additions and 45 deletions

View File

@@ -1534,35 +1534,6 @@ public class CardFactorySorceries {
card.setSVar("PlayMain1", "TRUE");
} // *************** END ************ END **************************
// *************** START *********** START **************************
else if (cardName.equals("Brood Birthing")) {
final SpellAbility spell = new Spell(card) {
private static final long serialVersionUID = -8303724057068847270L;
@Override
public void resolve() {
int times = 1;
CardList cl;
if (card.getController().getCardsIn(Zone.Battlefield, "Eldrazi Spawn").size() > 0) {
times = 3;
}
for (int i = 0; i < times; i++) {
cl = CardFactoryUtil.makeToken("Eldrazi Spawn", "C 0 1 Eldrazi Spawn", card.getController(),
"", new String[] { "Creature", "Eldrazi", "Spawn" }, 0, 1, new String[] {});
for (final Card crd : cl) {
crd.addSpellAbility(CardFactoryUtil.getEldraziSpawnAbility(crd));
}
}
}
};
final StringBuilder sb = new StringBuilder();
sb.append(cardName).append(" - ").append(card.getController());
sb.append(" puts one or three 0/1 Eldrazi Spawn creature tokens onto the battlefield.");
spell.setStackDescription(sb.toString());
card.addSpellAbility(spell);
} // *************** END ************ END **************************
// *************** START *********** START **************************
else if (cardName.equals("Explosive Revelation")) {
/*