- Converted Phyrexian Processor to script (by moomarc).

This commit is contained in:
Sloth
2012-11-13 20:16:29 +00:00
parent bafcee5077
commit 960eddf543
2 changed files with 8 additions and 5 deletions

View File

@@ -1,9 +1,12 @@
Name:Phyrexian Processor
ManaCost:4
Types:Artifact
Text:As CARDNAME enters the battlefield, pay any amount of life.
A:AB$ Token | Cost$ 4 T | TokenAmount$ 1 | TokenName$ Minion | TokenTypes$ Creature,Minion | TokenOwner$ You | TokenColors$ Black | TokenPower$ X | TokenToughness$ X | References$ X | TokenImage$ B X X Minion | SpellDescription$ Put an X/X black Minion creature token onto the battlefield, where X is the life paid as Phyrexian Processor entered the battlefield.
SVar:X:Count$xLifePaid
Text:no text
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ PayLife | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, pay any amount of life.
SVar:PayLife:AB$ StoreSVar | Cost$ PayLife<X> | References$ X | SVar$ LifePaidOnETB | Type$ CountSVar | Expression$ ChosenX
A:AB$ Token | Cost$ 4 T | TokenAmount$ 1 | TokenName$ Minion | TokenTypes$ Creature,Minion | TokenOwner$ You | TokenColors$ Black | TokenPower$ LifePaidOnETB | TokenToughness$ LifePaidOnETB | TokenImage$ B X X Minion | SpellDescription$ Put an X/X black Minion creature token onto the battlefield, where X is the life paid as Phyrexian Processor entered the battlefield.
SVar:X:XChoice
SVar:LifePaidOnETB:Number$0
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_processor.jpg

View File

@@ -320,7 +320,7 @@ class CardFactoryArtifacts {
} // *************** END ************ END **************************
// *************** START *********** START **************************
else if (cardName.equals("Phyrexian Processor")) {
/*else if (cardName.equals("Phyrexian Processor")) {
final Command intoPlay = new Command() {
private static final long serialVersionUID = 5634360316643996274L;
@@ -348,7 +348,7 @@ class CardFactoryArtifacts {
}
};
card.addComesIntoPlayCommand(intoPlay);
} // *************** END ************ END **************************
}*/ // *************** END ************ END **************************
// *************** START *********** START **************************
else if (cardName.equals("Scroll Rack")) {