forked from External/mage
made permanent tokens from framework compliant with new abstract superclass
This commit is contained in:
parent
2d922cb6af
commit
03eb170a04
341 changed files with 2690 additions and 40 deletions
|
|
@ -49,12 +49,11 @@ import mage.game.permanent.Permanent;
|
|||
public class GutterGrimeToken extends Token {
|
||||
|
||||
public GutterGrimeToken() {
|
||||
this (null);
|
||||
this ((UUID)null);
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(3);
|
||||
}
|
||||
|
||||
|
||||
public GutterGrimeToken(UUID sourceId) {
|
||||
super("Ooze", "green Ooze creature token with \"This creature's power and toughness are each equal to the number of slime counters on Gutter Grime.\"");
|
||||
cardType.add(CardType.CREATURE);
|
||||
|
|
@ -65,6 +64,14 @@ public class GutterGrimeToken extends Token {
|
|||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SetPowerToughnessSourceEffect(new GutterGrimeCounters(sourceId), Duration.WhileOnBattlefield)));
|
||||
}
|
||||
|
||||
public GutterGrimeToken(final GutterGrimeToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public GutterGrimeToken copy() {
|
||||
return new GutterGrimeToken(this);
|
||||
}
|
||||
|
||||
class GutterGrimeCounters implements DynamicValue {
|
||||
|
||||
private final UUID sourceId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue