- Added Chromatic Star.

This commit is contained in:
jendave
2011-08-06 04:09:33 +00:00
parent 4f02f8342f
commit cadb7ed915
2 changed files with 29 additions and 0 deletions

View File

@@ -1,3 +1,13 @@
Chromatic Star
1
Artifact
When Chromatic Star is put into a graveyard from the battlefield, draw a card.
1, tap, Sacrifice CARDNAME: Add W to your mana pool.
1, tap, Sacrifice CARDNAME: Add U to your mana pool.
1, tap, Sacrifice CARDNAME: Add B to your mana pool.
1, tap, Sacrifice CARDNAME: Add R to your mana pool.
1, tap, Sacrifice CARDNAME: Add G to your mana pool.
Burning Inquiry Burning Inquiry
R R
Sorcery Sorcery

View File

@@ -18634,6 +18634,25 @@ public class CardFactory implements NewConstants {
card.addSpellAbility(spell); card.addSpellAbility(spell);
}//*************** END ************ END ************************** }//*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Chromatic Star")) {
final SpellAbility ability = new Ability(card, "0") {
@Override
public void resolve() {
AllZone.GameAction.drawCard(card.getController());
}
};
Command destroy = new Command() {
private static final long serialVersionUID = 7982507967024313067L;
public void execute() {
ability.setStackDescription(card.getName() + " - " + card.getController() + " draws a card");
AllZone.Stack.add(ability);
}
};
card.addDestroyCommand(destroy);
}//*************** END ************ END **************************
// Cards with Cycling abilities // Cards with Cycling abilities
// -1 means keyword "Cycling" not found // -1 means keyword "Cycling" not found
if(hasKeyword(card, "Cycling") != -1) { if(hasKeyword(card, "Cycling") != -1) {