mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Removed duplicate enchantment bird token class
This commit is contained in:
parent
2074a02920
commit
cb6e6b234f
7 changed files with 58 additions and 80 deletions
|
|
@ -1,38 +0,0 @@
|
|||
|
||||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class AerieWorshippersBirdToken extends TokenImpl {
|
||||
|
||||
public AerieWorshippersBirdToken() {
|
||||
super("Bird Token", "2/2 blue Bird enchantment creature token with flying");
|
||||
cardType.add(CardType.ENCHANTMENT);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setBlue(true);
|
||||
subtype.add(SubType.BIRD);
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
this.setOriginalExpansionSetCode("BNG");
|
||||
this.setTokenType(2);
|
||||
}
|
||||
|
||||
public AerieWorshippersBirdToken(final AerieWorshippersBirdToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public AerieWorshippersBirdToken copy() {
|
||||
return new AerieWorshippersBirdToken(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -43,5 +43,8 @@ public final class BirdToken extends TokenImpl {
|
|||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C16")) {
|
||||
setTokenType(2);
|
||||
}
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("BNG")) {
|
||||
setTokenType(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,49 @@
|
|||
|
||||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class EnchantmentBirdToken extends TokenImpl {
|
||||
|
||||
public EnchantmentBirdToken() {
|
||||
super("Bird Token", "2/2 blue Bird enchantment creature token with flying");
|
||||
cardType.add(CardType.ENCHANTMENT);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setBlue(true);
|
||||
subtype.add(SubType.BIRD);
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
availableImageSetCodes = Arrays.asList("BNG");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("BNG")) {
|
||||
setTokenType(1);
|
||||
}
|
||||
}
|
||||
|
||||
public EnchantmentBirdToken(final EnchantmentBirdToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public EnchantmentBirdToken copy() {
|
||||
return new EnchantmentBirdToken(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.MageInt;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class RiseOfEaglesBirdToken extends TokenImpl {
|
||||
|
||||
public RiseOfEaglesBirdToken() {
|
||||
super("Bird Token", "2/2 blue Bird enchantment creature tokens with flying");
|
||||
this.setOriginalExpansionSetCode("BNG");
|
||||
this.setTokenType(2);
|
||||
cardType.add(CardType.ENCHANTMENT);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setColor(ObjectColor.BLUE);
|
||||
subtype.add(SubType.BIRD);
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
addAbility(FlyingAbility.getInstance());
|
||||
}
|
||||
|
||||
public RiseOfEaglesBirdToken(final RiseOfEaglesBirdToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public RiseOfEaglesBirdToken copy() {
|
||||
return new RiseOfEaglesBirdToken(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue