mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Refactor - remove duplicate SkeletonToken classes
This commit is contained in:
parent
a9e479f7dd
commit
ecde8dd0b3
4 changed files with 28 additions and 57 deletions
|
|
@ -0,0 +1,21 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.ColoredManaCost;
|
||||
import mage.abilities.effects.common.RegenerateSourceEffect;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.ColoredManaSymbol;
|
||||
import mage.constants.Zone;
|
||||
|
||||
public class SkeletonToken extends Token {
|
||||
public SkeletonToken() {
|
||||
super("Skeleton", "1/1 black Skeleton creature with \"{B}: Regenerate this creature\"");
|
||||
cardType.add(CardType.CREATURE);
|
||||
this.subtype.add("Skeleton");
|
||||
color.setBlack(true);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ColoredManaCost(ColoredManaSymbol.B)));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue