- Added Shimmer.

This commit is contained in:
Sloth
2011-09-30 19:45:54 +00:00
parent 9ee2344ee9
commit c5a10bdb18
3 changed files with 39 additions and 8 deletions

View File

@@ -1,9 +1,11 @@
Name:Barbed-Back Wurm Name:Barbed-Back Wurm
ManaCost:4 B ManaCost:4 B
Types:Creature Wurm Types:Creature Wurm
Text:no text Text:no text
PT:4/3 PT:4/3
A:AB$ Pump | Cost$ B | ValidTgts$ Creature.Green+blockingSource | TgtPrompt$ Select target green creature blocking Barbed-Back Wurm | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | SpellDescription$ Target green creature blocking CARDNAME gets -1/-1 until end of turn. A:AB$ Pump | Cost$ B | ValidTgts$ Creature.Green+blockingSource | TgtPrompt$ Select target green creature blocking Barbed-Back Wurm | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | SpellDescription$ Target green creature blocking CARDNAME gets -1/-1 until end of turn.
SVar:Rarity:Uncommon SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/barbed_back_wurm.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/barbed_back_wurm.jpg
SetInfo:MIR|Uncommon|http://magiccards.info/scans/en/mr/3.jpg
Oracle:{B}: Target green creature blocking Barbed-Back Wurm gets -1/-1 until end of turn.
End End

View File

@@ -425,6 +425,15 @@ public final class CardUtil {
return types; return types;
} }
public static ArrayList<String> getLandTypes() {
ArrayList<String> types = new ArrayList<String>();
types.addAll(Constant.CardTypes.basicTypes[0].list);
types.addAll(Constant.CardTypes.landTypes[0].list);
return types;
}
/** /**
* <p>isASuperType.</p> * <p>isASuperType.</p>

View File

@@ -333,6 +333,26 @@ public class AbilityFactory_Choose {
//computer will need to choose a type //computer will need to choose a type
} }
} }
}
else if (type.equals("Land")) {
boolean valid = false;
while (!valid) {
if (sa.getActivatingPlayer().isHuman()) {
Object o = GuiUtils.getChoice("Choose a basic land type",
CardUtil.getLandTypes().toArray());
if (null == o) {
return;
}
String choice = (String) o;
if (!invalidTypes.contains(choice)) {
valid = true;
card.setChosenType(choice);
}
} else {
//TODO
//computer will need to choose a type
}
}
} //end if-else if } //end if-else if
} }
} }