mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 20:59:14 -08:00
Refactor - moved BatToken to shared area
This commit is contained in:
parent
ffd333c034
commit
d3160fb861
3 changed files with 22 additions and 15 deletions
|
|
@ -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;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue