Removed duplicate dragon egg dragon token class

This commit is contained in:
PurpleCrowbar 2022-06-05 13:48:53 +01:00
parent cb6e6b234f
commit 3fc84d9ba4
4 changed files with 4 additions and 44 deletions

View file

@ -802,7 +802,7 @@
|Generate|TOK:M14|Zombie|||ZombieToken|
|Generate|TOK:M15|Beast|1||GarrukApexPredatorBeastToken|
|Generate|TOK:M15|Beast|2||BeastToken|
|Generate|TOK:M15|Dragon|||BroodKeeperDragonToken|
|Generate|TOK:M15|Dragon|||DragonEggDragonToken|
|Generate|TOK:M15|Goblin|||GoblinToken|
|Generate|TOK:M15|Insect|||InsectDeathToken|
|Generate|TOK:M15|Land Mine|||LandMineToken|

View file

@ -10,7 +10,7 @@ import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.game.permanent.token.BroodKeeperDragonToken;
import mage.game.permanent.token.DragonEggDragonToken;
/**
*
@ -27,7 +27,7 @@ public final class BroodKeeper extends CardImpl {
// Whenever an Aura becomes attached to Brood Keeper, create a 2/2 red Dragon creature token with flying.
// It has "{R}: This creature gets +1/+0 until end of turn."
Effect effect = new CreateTokenEffect(new BroodKeeperDragonToken());
Effect effect = new CreateTokenEffect(new DragonEggDragonToken());
effect.setText("create a 2/2 red Dragon creature token with flying. It has \"{R}: This creature gets +1/+0 until end of turn.\"");
this.addAbility(new AuraAttachedTriggeredAbility(effect, false));
}

View file

@ -1,40 +0,0 @@
package mage.game.permanent.token;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.MageInt;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.constants.Duration;
import mage.constants.Zone;
/**
*
* @author spjspj
*/
public final class BroodKeeperDragonToken extends TokenImpl {
public BroodKeeperDragonToken() {
super("Dragon Token", "2/2 red Dragon creature token with flying. It has \"{R}: This creature gets +1/+0 until end of turn.\"");
this.setOriginalExpansionSetCode("M15");
cardType.add(CardType.CREATURE);
color.setRed(true);
subtype.add(SubType.DRAGON);
power = new MageInt(2);
toughness = new MageInt(2);
this.addAbility(FlyingAbility.getInstance());
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl("{R}")));
}
public BroodKeeperDragonToken(final BroodKeeperDragonToken token) {
super(token);
}
public BroodKeeperDragonToken copy() {
return new BroodKeeperDragonToken(this);
}
}

View file

@ -28,7 +28,7 @@ public final class DragonEggDragonToken extends TokenImpl {
this.addAbility(FlyingAbility.getInstance());
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl("{R}")));
availableImageSetCodes = Arrays.asList("C18", "EMA", "M14", "M19", "CMR", "IMA");
availableImageSetCodes = Arrays.asList("C18", "EMA", "M14", "M15", "M19", "CMR", "IMA");
}
public DragonEggDragonToken(final DragonEggDragonToken token) {