diff --git a/Mage.Sets/src/mage/sets/alarareborn/DragonBroodmother.java b/Mage.Sets/src/mage/sets/alarareborn/DragonBroodmother.java index 7f0ab2c44fd..7dd193fdab5 100644 --- a/Mage.Sets/src/mage/sets/alarareborn/DragonBroodmother.java +++ b/Mage.Sets/src/mage/sets/alarareborn/DragonBroodmother.java @@ -71,18 +71,18 @@ public class DragonBroodmother extends CardImpl { public DragonBroodmother copy() { return new DragonBroodmother(this); } -} -class DragonToken extends Token { - DragonToken() { - super("Dragon", "1/1 red and green Dragon creature token with flying and devour 2"); - cardType.add(CardType.CREATURE); - color.setGreen(true); - color.setRed(true); - subtype.add("Dragon"); - power = new MageInt(1); - toughness = new MageInt(1); - addAbility(FlyingAbility.getInstance()); - addAbility(new DevourAbility(DevourEffect.DevourFactor.Devour2)); + class DragonToken extends Token { + DragonToken() { + super("Dragon", "1/1 red and green Dragon creature token with flying and devour 2"); + cardType.add(CardType.CREATURE); + color.setGreen(true); + color.setRed(true); + subtype.add("Dragon"); + power = new MageInt(1); + toughness = new MageInt(1); + addAbility(FlyingAbility.getInstance()); + addAbility(new DevourAbility(DevourEffect.DevourFactor.Devour2)); + } } -} \ No newline at end of file +} diff --git a/Mage.Sets/src/mage/sets/magic2014/DragonEgg.java b/Mage.Sets/src/mage/sets/magic2014/DragonEgg.java index 11326a0097e..7f74f4ca64b 100644 --- a/Mage.Sets/src/mage/sets/magic2014/DragonEgg.java +++ b/Mage.Sets/src/mage/sets/magic2014/DragonEgg.java @@ -73,20 +73,20 @@ public class DragonEgg extends CardImpl { public DragonEgg copy() { return new DragonEgg(this); } -} -class DragonToken extends Token { + class DragonToken extends Token { - DragonToken() { - super("Dragon", "2/2 red Dragon creature token with flying that has \"{R}: This creature gets +1/+0 until end of turn"); - this.setOriginalExpansionSetCode("M14"); - cardType.add(CardType.CREATURE); - color.setRed(true); - subtype.add("Dragon"); - power = new MageInt(2); - toughness = new MageInt(2); - addAbility(FlyingAbility.getInstance()); - addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl("{R}"))); - + DragonToken() { + super("Dragon", "2/2 red Dragon creature token with flying that has \"{R}: This creature gets +1/+0 until end of turn"); + this.setOriginalExpansionSetCode("M14"); + cardType.add(CardType.CREATURE); + color.setRed(true); + subtype.add("Dragon"); + power = new MageInt(2); + toughness = new MageInt(2); + addAbility(FlyingAbility.getInstance()); + addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl("{R}"))); + + } } -} \ No newline at end of file +} diff --git a/Mage.Sets/src/mage/sets/riseoftheeldrazi/SarkhanTheMad.java b/Mage.Sets/src/mage/sets/riseoftheeldrazi/SarkhanTheMad.java index 0960be10a4e..c11927ae465 100644 --- a/Mage.Sets/src/mage/sets/riseoftheeldrazi/SarkhanTheMad.java +++ b/Mage.Sets/src/mage/sets/riseoftheeldrazi/SarkhanTheMad.java @@ -27,9 +27,6 @@ */ package mage.sets.riseoftheeldrazi; -import java.util.List; -import java.util.UUID; -import mage.MageInt; import mage.MageObject; import mage.abilities.Ability; import mage.abilities.LoyaltyAbility; @@ -47,12 +44,16 @@ import mage.filter.predicate.mageobject.CardTypePredicate; import mage.filter.predicate.mageobject.SubtypePredicate; import mage.game.Game; import mage.game.permanent.Permanent; +import mage.game.permanent.token.DragonToken2; import mage.game.permanent.token.Token; import mage.players.Player; import mage.target.Target; import mage.target.TargetPlayer; import mage.target.common.TargetCreaturePermanent; +import java.util.List; +import java.util.UUID; + /** * * @author maurer.it_at_gmail.com @@ -145,7 +146,7 @@ class SarkhanTheMadSacEffect extends OneShotEffect { if (permanent != null) { Player player = game.getPlayer(permanent.getControllerId()); permanent.sacrifice(this.getId(), game); - Token dragonToken = new DragonToken(); + Token dragonToken = new DragonToken2(); dragonToken.putOntoBattlefield(1, game, this.getId(), player.getId()); } return false; @@ -155,7 +156,6 @@ class SarkhanTheMadSacEffect extends OneShotEffect { public SarkhanTheMadSacEffect copy() { return new SarkhanTheMadSacEffect(this); } - } class SarkhanTheMadDragonDamageEffect extends OneShotEffect { @@ -198,12 +198,3 @@ class SarkhanTheMadDragonDamageEffect extends OneShotEffect { } } - -class DragonToken extends mage.game.permanent.token.DragonToken { - - DragonToken() { - super(); - this.power = new MageInt(5); - this.toughness = new MageInt(5); - } -}