Refactor - moved BatToken to shared area

This commit is contained in:
JOAC69 2016-09-25 00:02:35 -05:00
parent ffd333c034
commit d3160fb861
3 changed files with 22 additions and 15 deletions

View file

@ -36,6 +36,7 @@ import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.abilities.keyword.HauntAbility;
import mage.cards.CardImpl;
import mage.game.permanent.token.BatToken;
/**
*

View file

@ -43,7 +43,7 @@ import mage.constants.Rarity;
import mage.constants.Zone;
import mage.filter.common.FilterControlledCreaturePermanent;
import mage.filter.predicate.mageobject.SubtypePredicate;
import mage.game.permanent.token.Token;
import mage.game.permanent.token.BatToken;
import mage.target.common.TargetControlledCreaturePermanent;
/**
@ -89,17 +89,3 @@ public class SkeletalVampire extends CardImpl {
}
}
class BatToken extends Token {
BatToken() {
super("Bat", "1/1 black Bat creature token with flying");
cardType.add(CardType.CREATURE);
color.setBlack(true);
subtype.add("Bat");
power = new MageInt(1);
toughness = new MageInt(1);
this.addAbility(FlyingAbility.getInstance());
this.setOriginalExpansionSetCode("MMA");
}
}