- Keyworded Mindless Automaton.

- Fixed type of Workhorse and keyworded the etbcounter ability.
This commit is contained in:
jendave
2011-08-06 09:18:35 +00:00
parent fb633e8219
commit 0085f1d879
3 changed files with 15 additions and 28 deletions

View File

@@ -1,8 +1,11 @@
Name:Mindless Automaton Name:Mindless Automaton
ManaCost:4 ManaCost:4
Types:Artifact Creature Construct Types:Artifact Creature Construct
Text:Mindless Automaton comes into play with two +1/+1 counters. 1,Discard a card: put a +1/+1 counter on Mindless Automaton. Remove two +1/+1 counters: draw a card. Text:no text
PT:0/0 PT:0/0
K:etbCounter:P1P1:2
A:AB$PutCounter|Cost$1 Discard<1/Any>|CounterType$P1P1|CounterNum$1|SpellDescription$Put a +1/+1 counter on Mindless Automaton.
K:abDrawCards SubCounter<2/P1P1>:1:Draw a card.:Mindless Automaton - Controller draws a card.
SVar:Rarity:Rare SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/mindless_automaton.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/mindless_automaton.jpg
End End

View File

@@ -1,8 +1,9 @@
Name:Workhorse Name:Workhorse
ManaCost:6 ManaCost:6
Types:Artifact Creature Construct Types:Artifact Creature Horse
Text:Workhorse enters the battlefield with four +1/+1 counters. Text:no text
PT:0/0 PT:0/0
K:etbCounter:P1P1:4
SVar:Rarity:Rare SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/workhorse.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/workhorse.jpg
End End

View File

@@ -15789,10 +15789,11 @@ public class CardFactory_Creatures {
card.addComesIntoPlayCommand(intoPlay); card.addComesIntoPlayCommand(intoPlay);
}//*************** END ************ END ************************** }//*************** END ************ END **************************
//*************** START *********** START ************************** //*************** START *********** START **************************
else if(cardName.equals("Workhorse")) { else if(cardName.equals("Workhorse")) {
final Ability_Mana ability = new Ability_Mana(card, "0: add 1") { final Ability_Mana ability = new Ability_Mana(card, "0: Add 1") {
private static final long serialVersionUID = -6764282980691397966L; private static final long serialVersionUID = -6764282980691397966L;
@Override @Override
@@ -15813,21 +15814,12 @@ public class CardFactory_Creatures {
return "1"; return "1";
} }
}; };
ability.setStackDescription(card + " adds 1 mana to mana pool. "); ability.setStackDescription(cardName + " add 1 mana to mana pool. ");
ability.setDescription("Remove a +1/+1 counter: add 1 to your mana pool."); ability.setDescription("Remove a +1/+1 counter from Workhorse: Add 1 to your mana pool.");
card.addSpellAbility(ability); card.addSpellAbility(ability);
Command intoPlay = new Command() {
private static final long serialVersionUID = 255901529244894L;
public void execute() {
card.addCounter(Counters.P1P1, 4);
}//execute()
};//Command
card.addComesIntoPlayCommand(intoPlay);
}//*************** END ************ END ************************** }//*************** END ************ END **************************
/*keyworded
//*************** START *********** START ************************** //*************** START *********** START **************************
else if(cardName.equals("Mindless Automaton")) { else if(cardName.equals("Mindless Automaton")) {
@@ -15854,7 +15846,7 @@ public class CardFactory_Creatures {
} }
}; };
ability1.setStackDescription(card + " gets a +1/+1 counter. "); ability1.setStackDescription(cardName + " gets a +1/+1 counter. ");
ability1.setDescription("1, Discard a card: put a +1/+1 counter on Mindless Automaton."); ability1.setDescription("1, Discard a card: put a +1/+1 counter on Mindless Automaton.");
card.addSpellAbility(ability1); card.addSpellAbility(ability1);
ability1.setBeforePayMana(runtime1); ability1.setBeforePayMana(runtime1);
@@ -15869,19 +15861,10 @@ public class CardFactory_Creatures {
}; };
ability2.setStackDescription("Remove two +1/+1 counters: Draw a card."); ability2.setStackDescription("Remove two +1/+1 counters: Draw a card.");
ability2.setDescription("Remove two +1/+1 counters: Draw a card."); ability2.setDescription("Remove two +1/+1 counters from Mindless Automaton: Draw a card.");
card.addSpellAbility(ability2); card.addSpellAbility(ability2);
Command intoPlay = new Command() {
private static final long serialVersionUID = 255901520244894L;
public void execute() {
card.addCounter(Counters.P1P1, 2);
}//execute()
};//Command
card.addComesIntoPlayCommand(intoPlay);
}//*************** END ************ END ************************** }//*************** END ************ END **************************
*/
//*************** START *********** START ************************** //*************** START *********** START **************************
else if(cardName.equals("Spitting Hydra")) { else if(cardName.equals("Spitting Hydra")) {