Ant Queen and Sengir Autocrat to xxMakeToken keyword

This commit is contained in:
jendave
2011-08-06 08:41:36 +00:00
parent ef10b15f70
commit 8ee1269230
3 changed files with 10 additions and 11 deletions

View File

@@ -3,6 +3,7 @@ ManaCost:3 G G
Types:Creature Insect
Text:no text
PT:5/5
K:abMakeToken 1 G<>1<>Insect<>G 1 1 Insect<>Controller<>G<>Creature;Insect<>1<>1<>None<>put a 1/1 green Insect creature token onto the battlefield.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/ant_queen.jpg
End

View File

@@ -3,6 +3,7 @@ ManaCost:3 B
Types:Creature Human
Text:When Sengir Autocrat comes into play, put three 0/1 black Serf creature tokens into play.\r\nWhen Sengir Autocrat leaves play, remove all Serf tokens from the game.
PT:2/2
K:etbMakeToken<>3<>Serf<>B 0 1 Serf<>Controller<>B<>Creature;Serf<>0<>1<>None<>put three 0/1 black Serf creature tokens into play.
SVar:Rarity:Uncommon
SVar:Picture:http://resources.wizards.com/magic/cards/tsb/en-us/card106638.jpg
End

View File

@@ -1853,6 +1853,7 @@ public class CardFactory_Creatures {
//*************** START *********** START **************************
else if(cardName.equals("Sengir Autocrat")) {
/*
final SpellAbility ability = new Ability(card, "0") {
@Override
public void resolve() {
@@ -1869,21 +1870,17 @@ public class CardFactory_Creatures {
+ " puts three 0/1 tokens into play");
AllZone.Stack.add(ability);
}
};
};*/
Command leavesPlay = new Command() {
private static final long serialVersionUID = 7242867764317580066L;
public void execute() {
CardList all = new CardList();
all.addAll(AllZone.Human_Play.getCards());
all.addAll(AllZone.Computer_Play.getCards());
all = all.getType("Serf");
for(int i = 0; i < all.size(); i++)
AllZone.GameAction.destroy(all.get(i));
CardList all = AllZoneUtil.getTypeInPlay("Serf");
for(Card serf:all)
AllZone.GameAction.exile(serf);
}//execute
};//Command
card.addComesIntoPlayCommand(intoPlay);
// card.addComesIntoPlayCommand(intoPlay);
card.addLeavesPlayCommand(leavesPlay);
}//*************** END ************ END **************************
@@ -3577,7 +3574,7 @@ public class CardFactory_Creatures {
}//*************** END ************ END **************************
/*
//*************** START *********** START **************************
else if(cardName.equals("Ant Queen")) {
final SpellAbility ability = new Ability(card, "1 G") {
@@ -3593,7 +3590,7 @@ public class CardFactory_Creatures {
}//*************** END ************ END **************************
*/
//*************** START *********** START **************************
else if(cardName.equals("Eternal Witness")) {