convert Disrupting Scepter from hardcoded to AB$Discard

This commit is contained in:
jendave
2011-08-06 12:12:42 +00:00
parent 43d7b44e4d
commit 0d4c99d883
2 changed files with 5 additions and 2 deletions

View File

@@ -2,6 +2,7 @@ Name:Disrupting Scepter
ManaCost:3
Types:Artifact
Text:no text
A:AB$Discard|Cost$3 T|ValidTgts$Player|NumCards$1|Mode$TgtChoose|PlayerTurn$True|SpellDescription$Target player discards a card. Activate this ability only during your turn.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/disrupting_scepter.jpg
SetInfo:8ED|Rare|http://magiccards.info/scans/en/8e/298.jpg

View File

@@ -11510,12 +11510,13 @@ public class CardFactory implements NewConstants {
card.addSpellAbility(spell);
}//*************** END ************ END **************************
/*
//*************** START *********** START **************************
else if(cardName.equals("Disrupting Scepter")) {
/*
* 3, Tap: Target player discards a card. Activate this
* ability only during your turn.
*/
*
//Ability_Cost abCost = new Ability_Cost("3 T", cardName, true);
//Target tgt = new Target("TgtP");
//final Ability_Activated ability = new Ability_Activated(card, abCost, tgt) {
@@ -11537,7 +11538,7 @@ public class CardFactory implements NewConstants {
else { //compy
AllZone.GameAction.AI_discardNum(1, this);
}
*/
*
target.discard(1, this);
}
@@ -11548,6 +11549,7 @@ public class CardFactory implements NewConstants {
ability.setChooseTargetAI(CardFactoryUtil.AI_targetHuman());
ability.setBeforePayMana(CardFactoryUtil.input_targetPlayer(ability));
}//*************** END ************ END **************************
*/
//*************** START *********** START **************************
else if(cardName.equals("Lifeforce")) {