From 3ff34051cebceb0f68db5ccec2a39cae6db3bb12 Mon Sep 17 00:00:00 2001 From: Marc Zwart Date: Mon, 2 Apr 2018 17:48:39 +0200 Subject: [PATCH] first few Tokens from sets module made compliant with abstract Token class --- .../src/mage/cards/a/AwakenTheAncient.java | 8 +++++++ .../src/mage/cards/f/FigureOfDestiny.java | 24 +++++++++++++++++++ .../src/mage/cards/g/GenjuOfTheFalls.java | 8 +++++++ .../src/mage/cards/g/GenjuOfTheFens.java | 8 +++++++ Mage.Sets/src/mage/cards/m/MongrelPack.java | 8 +++++++ 5 files changed, 56 insertions(+) diff --git a/Mage.Sets/src/mage/cards/a/AwakenTheAncient.java b/Mage.Sets/src/mage/cards/a/AwakenTheAncient.java index f53bb97e9b5..e5c324e15ad 100644 --- a/Mage.Sets/src/mage/cards/a/AwakenTheAncient.java +++ b/Mage.Sets/src/mage/cards/a/AwakenTheAncient.java @@ -89,5 +89,13 @@ public class AwakenTheAncient extends CardImpl { toughness = new MageInt(7); this.addAbility(HasteAbility.getInstance()); } + + public GiantToken(final GiantToken token) { + super(token); + } + + public GiantToken copy() { + return new GiantToken(this); + } } } diff --git a/Mage.Sets/src/mage/cards/f/FigureOfDestiny.java b/Mage.Sets/src/mage/cards/f/FigureOfDestiny.java index 22456975e09..21385e94c87 100644 --- a/Mage.Sets/src/mage/cards/f/FigureOfDestiny.java +++ b/Mage.Sets/src/mage/cards/f/FigureOfDestiny.java @@ -114,6 +114,14 @@ public class FigureOfDestiny extends CardImpl { this.power = new MageInt(2); this.toughness = new MageInt(2); } + + public FigureOfDestinyToken1(final FigureOfDestinyToken1 token) { + super(token); + } + + public FigureOfDestinyToken1 copy() { + return new FigureOfDestinyToken1(this); + } } private class FigureOfDestinyToken2 extends Token { @@ -130,6 +138,14 @@ public class FigureOfDestiny extends CardImpl { this.power = new MageInt(4); this.toughness = new MageInt(4); } + public FigureOfDestinyToken2(final FigureOfDestinyToken2 token) { + super(token); + } + + public FigureOfDestinyToken2 copy() { + return new FigureOfDestinyToken2(this); + } + } private class FigureOfDestinyToken3 extends Token { @@ -149,5 +165,13 @@ public class FigureOfDestiny extends CardImpl { this.addAbility(FlyingAbility.getInstance()); this.addAbility(FirstStrikeAbility.getInstance()); } + + public FigureOfDestinyToken3(final FigureOfDestinyToken3 token) { + super(token); + } + + public FigureOfDestinyToken3 copy() { + return new FigureOfDestinyToken3(this); + } } } diff --git a/Mage.Sets/src/mage/cards/g/GenjuOfTheFalls.java b/Mage.Sets/src/mage/cards/g/GenjuOfTheFalls.java index bed91096ecd..0abc9a84f7f 100644 --- a/Mage.Sets/src/mage/cards/g/GenjuOfTheFalls.java +++ b/Mage.Sets/src/mage/cards/g/GenjuOfTheFalls.java @@ -94,5 +94,13 @@ public class GenjuOfTheFalls extends CardImpl { toughness = new MageInt(2); addAbility(FlyingAbility.getInstance()); } + + public SpiritToken(final SpiritToken token) { + super(token); + } + + public SpiritToken copy() { + return new SpiritToken(this); + } } } diff --git a/Mage.Sets/src/mage/cards/g/GenjuOfTheFens.java b/Mage.Sets/src/mage/cards/g/GenjuOfTheFens.java index 7f0fc40ab7d..559711bc42d 100644 --- a/Mage.Sets/src/mage/cards/g/GenjuOfTheFens.java +++ b/Mage.Sets/src/mage/cards/g/GenjuOfTheFens.java @@ -95,5 +95,13 @@ public class GenjuOfTheFens extends CardImpl { toughness = new MageInt(2); addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 1, Duration.EndOfTurn), new ManaCostsImpl("{B}"))); } + + public SpiritToken(final SpiritToken token) { + super(token); + } + + public SpiritToken copy() { + return new SpiritToken(this); + } } } diff --git a/Mage.Sets/src/mage/cards/m/MongrelPack.java b/Mage.Sets/src/mage/cards/m/MongrelPack.java index 5ff149de1f9..039e5a4c04a 100644 --- a/Mage.Sets/src/mage/cards/m/MongrelPack.java +++ b/Mage.Sets/src/mage/cards/m/MongrelPack.java @@ -105,4 +105,12 @@ class HoundToken extends Token { power = new MageInt(1); toughness = new MageInt(1); } + + public HoundToken(final HoundToken token) { + super(token); + } + + public HoundToken copy() { + return new HoundToken(this); + } }