This commit is contained in:
magenoxx 2014-08-06 10:27:54 +04:00
commit bb8aae0124
6 changed files with 12 additions and 4 deletions

View file

@ -118,7 +118,7 @@ class ChasmSkulkerSquidToken extends Token {
public ChasmSkulkerSquidToken() { public ChasmSkulkerSquidToken() {
super("Squid", "1/1 blue Squid creature token with islandwalk"); super("Squid", "1/1 blue Squid creature token with islandwalk");
this.setOriginalExpansionSetCode("MMA"); this.setOriginalExpansionSetCode("M15");
cardType.add(CardType.CREATURE); cardType.add(CardType.CREATURE);
color.setBlue(true); color.setBlue(true);
subtype.add("Squid"); subtype.add("Squid");

View file

@ -74,7 +74,7 @@ class CoralBarrierSquidToken extends Token {
public CoralBarrierSquidToken() { public CoralBarrierSquidToken() {
super("Squid", "1/1 blue Squid creature token with islandwalk"); super("Squid", "1/1 blue Squid creature token with islandwalk");
this.setOriginalExpansionSetCode("MMA"); this.setOriginalExpansionSetCode("M15");
cardType.add(CardType.CREATURE); cardType.add(CardType.CREATURE);
color.setBlue(true); color.setBlue(true);
subtype.add("Squid"); subtype.add("Squid");

View file

@ -50,7 +50,7 @@ public class FeralIncarnation extends CardImpl {
// Convoke // Convoke
this.addAbility(new ConvokeAbility()); this.addAbility(new ConvokeAbility());
// Put three 3/3 green Beast creature tokens onto the battlefield. // Put three 3/3 green Beast creature tokens onto the battlefield.
this.getSpellAbility().addEffect(new CreateTokenEffect(new BeastToken("M15"), 3)); this.getSpellAbility().addEffect(new CreateTokenEffect(new BeastToken("M15", 1), 3));
} }
public FeralIncarnation(final FeralIncarnation card) { public FeralIncarnation(final FeralIncarnation card) {

View file

@ -149,6 +149,7 @@ class GarrukApexPredatorBeastToken extends Token {
public GarrukApexPredatorBeastToken() { public GarrukApexPredatorBeastToken() {
super("Beast", "3/3 black Beast creature token with deathtouch"); super("Beast", "3/3 black Beast creature token with deathtouch");
setOriginalExpansionSetCode("M15"); setOriginalExpansionSetCode("M15");
setTokenType(2);
cardType.add(CardType.CREATURE); cardType.add(CardType.CREATURE);
color.setBlack(true); color.setBlack(true);
subtype.add("Beast"); subtype.add("Beast");

View file

@ -130,6 +130,7 @@ class SliverToken extends Token {
SliverToken() { SliverToken() {
super("Sliver", "1/1 colorless Sliver creature token"); super("Sliver", "1/1 colorless Sliver creature token");
setOriginalExpansionSetCode("M15");
cardType.add(CardType.CREATURE); cardType.add(CardType.CREATURE);
subtype.add("Sliver"); subtype.add("Sliver");
power = new MageInt(1); power = new MageInt(1);

View file

@ -41,10 +41,16 @@ public class BeastToken extends Token {
public BeastToken() { public BeastToken() {
this("LRW"); this("LRW");
} }
public BeastToken(String setCode) { public BeastToken(String setCode) {
this(setCode, Integer.MIN_VALUE);
}
public BeastToken(String setCode, int tokenType) {
super("Beast", "3/3 green Beast creature token"); super("Beast", "3/3 green Beast creature token");
setOriginalExpansionSetCode(setCode); setOriginalExpansionSetCode(setCode);
if (tokenType != Integer.MIN_VALUE) {
setTokenType(tokenType);
}
cardType.add(CardType.CREATURE); cardType.add(CardType.CREATURE);
color = ObjectColor.GREEN; color = ObjectColor.GREEN;
subtype.add("Beast"); subtype.add("Beast");