mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
Removed duplicate minotaur token class. Closes #8947
This commit is contained in:
parent
16bb0ebfc1
commit
e418ab04be
4 changed files with 17 additions and 37 deletions
|
@ -693,7 +693,7 @@
|
||||||
|Generate|TOK:ISD|Zombie|2||ZombieToken|
|
|Generate|TOK:ISD|Zombie|2||ZombieToken|
|
||||||
|Generate|TOK:ISD|Zombie|3||ZombieToken|
|
|Generate|TOK:ISD|Zombie|3||ZombieToken|
|
||||||
|Generate|TOK:JOU|Hydra|||HydraBroodmasterToken|
|
|Generate|TOK:JOU|Hydra|||HydraBroodmasterToken|
|
||||||
|Generate|TOK:JOU|Minotaur|||FlurryOfHornsMinotaurToken|
|
|Generate|TOK:JOU|Minotaur|||MinotaurToken|
|
||||||
|Generate|TOK:JOU|Snake|||PharikaSnakeToken|
|
|Generate|TOK:JOU|Snake|||PharikaSnakeToken|
|
||||||
|Generate|TOK:JOU|Sphinx|||HourOfNeedSphinxToken|
|
|Generate|TOK:JOU|Sphinx|||HourOfNeedSphinxToken|
|
||||||
|Generate|TOK:JOU|Spider|||RenownedWeaverSpiderToken|
|
|Generate|TOK:JOU|Spider|||RenownedWeaverSpiderToken|
|
||||||
|
|
|
@ -6,7 +6,7 @@ import mage.abilities.effects.common.CreateTokenEffect;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.cards.CardSetInfo;
|
import mage.cards.CardSetInfo;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.game.permanent.token.FlurryOfHornsMinotaurToken;
|
import mage.game.permanent.token.MinotaurToken;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -18,7 +18,7 @@ public final class FlurryOfHorns extends CardImpl {
|
||||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{R}");
|
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{R}");
|
||||||
|
|
||||||
// Create two 2/3 red Minotaur creature tokens with haste.
|
// Create two 2/3 red Minotaur creature tokens with haste.
|
||||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new FlurryOfHornsMinotaurToken(), 2));
|
this.getSpellAbility().addEffect(new CreateTokenEffect(new MinotaurToken(true), 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
private FlurryOfHorns(final FlurryOfHorns card) {
|
private FlurryOfHorns(final FlurryOfHorns card) {
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
package mage.game.permanent.token;
|
|
||||||
import mage.constants.CardType;
|
|
||||||
import mage.constants.SubType;
|
|
||||||
import mage.MageInt;
|
|
||||||
import mage.ObjectColor;
|
|
||||||
import mage.abilities.keyword.HasteAbility;
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author spjspj
|
|
||||||
*/
|
|
||||||
public final class FlurryOfHornsMinotaurToken extends TokenImpl {
|
|
||||||
|
|
||||||
public FlurryOfHornsMinotaurToken() {
|
|
||||||
super("Minotaur Token", "2/3 red Minotaur creature tokens with haste");
|
|
||||||
this.setOriginalExpansionSetCode("JOU");
|
|
||||||
cardType.add(CardType.CREATURE);
|
|
||||||
color.setColor(ObjectColor.RED);
|
|
||||||
subtype.add(SubType.MINOTAUR);
|
|
||||||
power = new MageInt(2);
|
|
||||||
toughness = new MageInt(3);
|
|
||||||
addAbility(HasteAbility.getInstance());
|
|
||||||
}
|
|
||||||
|
|
||||||
public FlurryOfHornsMinotaurToken(final FlurryOfHornsMinotaurToken token) {
|
|
||||||
super(token);
|
|
||||||
}
|
|
||||||
|
|
||||||
public FlurryOfHornsMinotaurToken copy() {
|
|
||||||
return new FlurryOfHornsMinotaurToken(this);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -2,14 +2,26 @@ package mage.game.permanent.token;
|
||||||
|
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.ObjectColor;
|
import mage.ObjectColor;
|
||||||
|
import mage.abilities.keyword.HasteAbility;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.SubType;
|
import mage.constants.SubType;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author TheElk801
|
* @author TheElk801
|
||||||
*/
|
*/
|
||||||
public final class MinotaurToken extends TokenImpl {
|
public final class MinotaurToken extends TokenImpl {
|
||||||
|
|
||||||
|
public MinotaurToken(boolean withHaste) {
|
||||||
|
this();
|
||||||
|
|
||||||
|
if (withHaste) {
|
||||||
|
addAbility(HasteAbility.getInstance());
|
||||||
|
this.description = "2/3 red Minotaur creature tokens with haste";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public MinotaurToken() {
|
public MinotaurToken() {
|
||||||
super("Minotaur Token", "2/3 red Minotaur creature token");
|
super("Minotaur Token", "2/3 red Minotaur creature token");
|
||||||
cardType.add(CardType.CREATURE);
|
cardType.add(CardType.CREATURE);
|
||||||
|
@ -17,6 +29,8 @@ public final class MinotaurToken extends TokenImpl {
|
||||||
subtype.add(SubType.MINOTAUR);
|
subtype.add(SubType.MINOTAUR);
|
||||||
power = new MageInt(2);
|
power = new MageInt(2);
|
||||||
toughness = new MageInt(3);
|
toughness = new MageInt(3);
|
||||||
|
|
||||||
|
availableImageSetCodes = Arrays.asList("JOU");
|
||||||
}
|
}
|
||||||
|
|
||||||
private MinotaurToken(final MinotaurToken token) {
|
private MinotaurToken(final MinotaurToken token) {
|
||||||
|
|
Loading…
Reference in a new issue