- Added Suspend keyword.

- Added Duskrider Peregrine, Errant Ephemeron, Keldon Halberdier, Durkwood Baloth, Lotus Bloom, Corpulent Corpse
- Updated Shade of Trokair, Giant Dustwasp, Pardic Dragon, Viscerid Deepwalker with Suspend keyword
- Added Ancestral Vision, although it currently doesn't draw cards due to a upkeep/draw phase bug that doesn't let you draw more than one card during your draw phase.
This commit is contained in:
jendave
2011-08-06 05:28:45 +00:00
parent 94bb4aceb9
commit 09c24d5c32
7 changed files with 206 additions and 33 deletions

View File

@@ -3433,12 +3433,26 @@ public class CardFactory implements NewConstants {
//card.removeIntrinsicKeyword(parse);
String k[] = parse.split(":");
final String manacost = k[1];
card.setMadness(true);
card.setMadnessCost(k[1]);
}
}//madness
if(hasKeyword(card, "Suspend") != -1) {
// Suspend:<TimeCounters>:<Cost>
int n = hasKeyword(card, "Suspend");
if(n != -1) {
String parse = card.getKeyword().get(n).toString();
card.removeIntrinsicKeyword(parse);
String k[] = parse.split(":");
final int timeCounters = Integer.parseInt(k[1]);
final String cost = k[2];
card.addSpellAbility(CardFactoryUtil.ability_suspend(card, cost, timeCounters));
}
}//madness
if(hasKeyword(card, "Devour") != -1) {
int n = hasKeyword(card, "Devour");
@@ -5000,7 +5014,6 @@ public class CardFactory implements NewConstants {
card.clearSpellAbility();
card.addSpellAbility(spell);
}//*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Dragon Roost")) {