forked from External/mage
Refactor - moved WallOfResurgenceToken to shared area
This commit is contained in:
parent
a12e830a1b
commit
f2d358b5b4
3 changed files with 21 additions and 16 deletions
|
|
@ -41,6 +41,7 @@ import mage.constants.Duration;
|
|||
import mage.constants.Rarity;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.common.FilterControlledLandPermanent;
|
||||
import mage.game.permanent.token.WallOfResurgenceToken;
|
||||
import mage.target.common.TargetControlledPermanent;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -35,14 +35,13 @@ import mage.abilities.effects.Effect;
|
|||
import mage.abilities.effects.common.continuous.BecomesCreatureTargetEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
||||
import mage.abilities.keyword.DefenderAbility;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.Rarity;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.common.FilterControlledLandPermanent;
|
||||
import mage.game.permanent.token.Token;
|
||||
import mage.game.permanent.token.WallOfResurgenceToken;
|
||||
import mage.target.common.TargetControlledPermanent;
|
||||
|
||||
/**
|
||||
|
|
@ -78,17 +77,3 @@ public class WallOfResurgence extends CardImpl {
|
|||
return new WallOfResurgence(this);
|
||||
}
|
||||
}
|
||||
|
||||
class WallOfResurgenceToken extends Token {
|
||||
|
||||
public WallOfResurgenceToken() {
|
||||
super("", "0/0 Elemental creature with haste");
|
||||
this.cardType.add(CardType.CREATURE);
|
||||
|
||||
this.subtype.add("Elemental");
|
||||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(0);
|
||||
|
||||
this.addAbility(HasteAbility.getInstance());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.constants.CardType;
|
||||
|
||||
public class WallOfResurgenceToken extends Token {
|
||||
|
||||
public WallOfResurgenceToken() {
|
||||
super("", "0/0 Elemental creature with haste");
|
||||
this.cardType.add(CardType.CREATURE);
|
||||
|
||||
this.subtype.add("Elemental");
|
||||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(0);
|
||||
|
||||
this.addAbility(HasteAbility.getInstance());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue