- I made a minor edit to Wurmcoil Engine. This card will now create tokens with the image name "c_3_3_wurm_deathtouch.jpg" and "c_3_3_wurm_lifelink.jpg". We have a few other icons that required us to use this image name system.

This commit is contained in:
jendave
2011-08-06 08:40:29 +00:00
parent a1efd3440d
commit 6921c00021

View File

@@ -11582,15 +11582,16 @@ public class CardFactory_Creatures {
//*************** START *********** START **************************
else if(cardName.equals("Wurmcoil Engine")) {
final Ability ability = new Ability(card, "0") {
@Override
public void resolve() {
makeTokens();
}//resolve()
void makeTokens() {
CardFactoryUtil.makeToken("Wurm", "C 3 3 Wurm", card, "", new String[] {
CardFactoryUtil.makeToken("Wurm", "C 3 3 Wurm Deathtouch", card, "", new String[] {
"Artifact", "Creature", "Wurm"}, 3, 3, new String[] {"Deathtouch"});
CardFactoryUtil.makeToken("Wurm", "C 3 3 Wurm", card, "", new String[] {
CardFactoryUtil.makeToken("Wurm", "C 3 3 Wurm Lifelink", card, "", new String[] {
"Artifact", "Creature", "Wurm"}, 3, 3, new String[] {"Lifelink"});
}//makeToken()
};//Ability
@@ -11600,11 +11601,12 @@ public class CardFactory_Creatures {
private static final long serialVersionUID = 8458814538376248271L;
public void execute() {
ability.setStackDescription(card.getName()
+ " - put creature tokens into play.");
StringBuilder sb = new StringBuilder();
sb.append(card.getName()).append(" - put creature tokens into play.");
ability.setStackDescription(sb.toString());
AllZone.Stack.add(ability);
}
};
};//Command
card.addDestroyCommand(makeTokens);