mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
convert Disrupting Scepter from hardcoded to AB$Discard
This commit is contained in:
@@ -2,6 +2,7 @@ Name:Disrupting Scepter
|
|||||||
ManaCost:3
|
ManaCost:3
|
||||||
Types:Artifact
|
Types:Artifact
|
||||||
Text:no text
|
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:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/disrupting_scepter.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/disrupting_scepter.jpg
|
||||||
SetInfo:8ED|Rare|http://magiccards.info/scans/en/8e/298.jpg
|
SetInfo:8ED|Rare|http://magiccards.info/scans/en/8e/298.jpg
|
||||||
|
|||||||
@@ -11510,12 +11510,13 @@ public class CardFactory implements NewConstants {
|
|||||||
card.addSpellAbility(spell);
|
card.addSpellAbility(spell);
|
||||||
}//*************** END ************ END **************************
|
}//*************** END ************ END **************************
|
||||||
|
|
||||||
|
/*
|
||||||
//*************** START *********** START **************************
|
//*************** START *********** START **************************
|
||||||
else if(cardName.equals("Disrupting Scepter")) {
|
else if(cardName.equals("Disrupting Scepter")) {
|
||||||
/*
|
/*
|
||||||
* 3, Tap: Target player discards a card. Activate this
|
* 3, Tap: Target player discards a card. Activate this
|
||||||
* ability only during your turn.
|
* ability only during your turn.
|
||||||
*/
|
*
|
||||||
//Ability_Cost abCost = new Ability_Cost("3 T", cardName, true);
|
//Ability_Cost abCost = new Ability_Cost("3 T", cardName, true);
|
||||||
//Target tgt = new Target("TgtP");
|
//Target tgt = new Target("TgtP");
|
||||||
//final Ability_Activated ability = new Ability_Activated(card, abCost, tgt) {
|
//final Ability_Activated ability = new Ability_Activated(card, abCost, tgt) {
|
||||||
@@ -11537,7 +11538,7 @@ public class CardFactory implements NewConstants {
|
|||||||
else { //compy
|
else { //compy
|
||||||
AllZone.GameAction.AI_discardNum(1, this);
|
AllZone.GameAction.AI_discardNum(1, this);
|
||||||
}
|
}
|
||||||
*/
|
*
|
||||||
target.discard(1, this);
|
target.discard(1, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -11548,6 +11549,7 @@ public class CardFactory implements NewConstants {
|
|||||||
ability.setChooseTargetAI(CardFactoryUtil.AI_targetHuman());
|
ability.setChooseTargetAI(CardFactoryUtil.AI_targetHuman());
|
||||||
ability.setBeforePayMana(CardFactoryUtil.input_targetPlayer(ability));
|
ability.setBeforePayMana(CardFactoryUtil.input_targetPlayer(ability));
|
||||||
}//*************** END ************ END **************************
|
}//*************** END ************ END **************************
|
||||||
|
*/
|
||||||
|
|
||||||
//*************** START *********** START **************************
|
//*************** START *********** START **************************
|
||||||
else if(cardName.equals("Lifeforce")) {
|
else if(cardName.equals("Lifeforce")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user