add Eater of Days (from Darksteel)

This commit is contained in:
jendave
2011-08-06 14:06:16 +00:00
parent 8a1fe53856
commit 0c94a3a6c7
3 changed files with 32 additions and 0 deletions

View File

@@ -13502,6 +13502,27 @@ public class CardFactory_Creatures {
card.addSpellAbility(mana);
}//*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Eater of Days")) {
final Ability ability = new Ability(card, "") {
@Override
public void resolve() {
AllZone.Phase.addExtraTurn(card.getController().getOpponent());
AllZone.Phase.addExtraTurn(card.getController().getOpponent());
}
};
ability.setStackDescription(cardName+" - "+card.getController()+" skips his or her next two turns.");
Command intoPlay = new Command() {
private static final long serialVersionUID = 2021250034977097040L;
public void execute() {
AllZone.Stack.add(ability);
}
};
card.addComesIntoPlayCommand(intoPlay);
}//*************** END ************ END **************************
if(hasKeyword(card, "Level up") != -1 && hasKeyword(card, "maxLevel") != -1)
{