mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
- Added Shimmer.
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
Name:Barbed-Back Wurm
|
||||
ManaCost:4 B
|
||||
Types:Creature Wurm
|
||||
Text:no text
|
||||
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.
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/barbed_back_wurm.jpg
|
||||
Name:Barbed-Back Wurm
|
||||
ManaCost:4 B
|
||||
Types:Creature Wurm
|
||||
Text:no text
|
||||
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.
|
||||
SVar:Rarity:Uncommon
|
||||
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
|
||||
@@ -425,6 +425,15 @@ public final class CardUtil {
|
||||
|
||||
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>
|
||||
|
||||
@@ -333,6 +333,26 @@ public class AbilityFactory_Choose {
|
||||
//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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user