mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- 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:
@@ -11579,32 +11579,34 @@ public class CardFactory_Creatures {
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
|
||||
//*************** START *********** START **************************
|
||||
//*************** 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
|
||||
|
||||
Command makeTokens = new Command() {
|
||||
|
||||
private static final long serialVersionUID = 8458814538376248271L;
|
||||
private static final long serialVersionUID = 8458814538376248271L;
|
||||
|
||||
public void execute() {
|
||||
ability.setStackDescription(card.getName()
|
||||
+ " - put creature tokens into play.");
|
||||
public void execute() {
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user