TypeCycling Keyword added.

Traumatic Visions, Fiery Fall, Absorb Vis, Ethereal Usher, Chartooth Cougar, Elvish Aberration, Noble Templar, Shoreline Ranger, Twisted Abomination, Wirewood Guardian, Valley Rannet, Sanctum Plowbeast, Pale Recluse, Jhessian Zombies, Igneous Pouncer were added.
This commit is contained in:
jendave
2011-08-06 02:58:20 +00:00
parent 7b361c4189
commit 1b2671626a
5 changed files with 243 additions and 8 deletions

View File

@@ -9304,7 +9304,7 @@ public class CardFactory implements NewConstants {
//*************** START *********** START **************************
else if(cardName.equals("Counterspell") || cardName.equals("Cancel") || cardName.equals("Last Word"))
else if(cardName.equals("Counterspell") || cardName.equals("Cancel") || cardName.equals("Last Word") || cardName.equals("Traumatic Visions"))
{
SpellAbility spell = new Spell(card)
{
@@ -17713,6 +17713,22 @@ return land.size() > 1 && CardFactoryUtil.AI_isMainPhase();
card.addSpellAbility(CardFactoryUtil.ability_cycle(card, manacost));
}
}//Cycling
while (hasKeyword(card, "TypeCycling") != -1)
{
int n = hasKeyword(card, "TypeCycling");
if (n != -1)
{
String parse = card.getKeyword().get(n).toString();
card.removeIntrinsicKeyword(parse);
String k[] = parse.split(":");
final String type = k[1];
final String manacost = k[2];
card.addSpellAbility(CardFactoryUtil.ability_typecycle(card, manacost,type));
}
}//TypeCycling
if (hasKeyword(card, "Transmute") != -1)
{