forked from External/mage
[M14] Remove a duplicate token
This commit is contained in:
parent
b688828f22
commit
2b7a67d6e6
2 changed files with 2 additions and 35 deletions
|
|
@ -11,7 +11,7 @@ import mage.constants.CardType;
|
|||
import mage.constants.Outcome;
|
||||
import mage.constants.Zone;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.token.MoltenBirthElementalToken;
|
||||
import mage.game.permanent.token.RedElementalToken;
|
||||
import mage.players.Player;
|
||||
|
||||
import java.util.UUID;
|
||||
|
|
@ -25,7 +25,7 @@ public final class MoltenBirth extends CardImpl {
|
|||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R}{R}");
|
||||
|
||||
// Create two 1/1 red Elemental creature tokens. Then flip a coin. If you win the flip, return Molten Birth to its owner's hand.
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new MoltenBirthElementalToken(), 2));
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new RedElementalToken(), 2));
|
||||
this.getSpellAbility().addEffect(new MoltenBirthEffect());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,33 +0,0 @@
|
|||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.util.RandomUtil;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class MoltenBirthElementalToken extends TokenImpl {
|
||||
|
||||
public MoltenBirthElementalToken() {
|
||||
super("Elemental", "1/1 red Elemental creature");
|
||||
this.setOriginalExpansionSetCode("M14");
|
||||
this.setTokenType(RandomUtil.nextInt(2) + 1);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setRed(true);
|
||||
subtype.add(SubType.ELEMENTAL);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
}
|
||||
|
||||
public MoltenBirthElementalToken(final MoltenBirthElementalToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public MoltenBirthElementalToken copy() {
|
||||
return new MoltenBirthElementalToken(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue