**** Note: If you write card codeblocks, please be aware that "TgtV" Target constructor is no longer used. Use Target(String message, String[] Valid) instead.

- Changing Target class to always use ValidCards, converted older keywords to follow the new format. 
- Added AF_Tap, converted Burst of Energy and Mind Games
This commit is contained in:
jendave
2011-08-06 10:26:27 +00:00
parent a449eb5a6b
commit 961d74e6a4
12 changed files with 291 additions and 508 deletions

View File

@@ -13910,7 +13910,7 @@ public class CardFactory_Creatures {
else if(cardName.equals("Tradewind Rider")) {
String select = "Select target permanent to return to owner's hand.";
final String Tgts[] = {"Permanent"};
Target target = new Target("TgtV", select, Tgts);
Target target = new Target(select, Tgts);
final Ability_Cost cost = new Ability_Cost("T tapXType<2/Creature>", card.getName(), true);
@@ -20416,7 +20416,7 @@ public class CardFactory_Creatures {
//*************** START *********** START **************************
else if(cardName.equals("Singing Tree")) {
final String Tgts[] = {"Creature.attacking"};
Target target = new Target("TgtV", "Select target attacking creature.", Tgts);
Target target = new Target("Select target attacking creature.", Tgts);
final Ability_Cost cost = new Ability_Cost("T", card.getName(), true);
@@ -20657,7 +20657,7 @@ public class CardFactory_Creatures {
//*************** START *********** START **************************
else if(cardName.equals("Witch Hunter")) {
final String Tgts[] = {"Creature+YouDontCtrl"};
Target target = new Target("TgtV", "Select target creature you don't control.", Tgts);
Target target = new Target("Select target creature you don't control.", Tgts);
final Ability_Cost abCost = new Ability_Cost("1 W W T", card.getName(), true);
final SpellAbility ability = new Ability_Activated(card, abCost, target) {