mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Merge pull request #3227 from drmDev/bug/wirefly
fixes #3226 wirefly tokens have flying
This commit is contained in:
commit
89af3e7aaa
1 changed files with 3 additions and 1 deletions
|
@ -35,6 +35,7 @@ import mage.abilities.costs.mana.GenericManaCost;
|
||||||
import mage.abilities.effects.common.CreateTokenEffect;
|
import mage.abilities.effects.common.CreateTokenEffect;
|
||||||
import mage.abilities.effects.common.DestroyAllEffect;
|
import mage.abilities.effects.common.DestroyAllEffect;
|
||||||
import mage.abilities.effects.common.FlipCoinEffect;
|
import mage.abilities.effects.common.FlipCoinEffect;
|
||||||
|
import mage.abilities.keyword.FlyingAbility;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.cards.CardSetInfo;
|
import mage.cards.CardSetInfo;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
|
@ -74,12 +75,13 @@ public class WireflyHive extends CardImpl {
|
||||||
class WireflyToken extends Token {
|
class WireflyToken extends Token {
|
||||||
|
|
||||||
WireflyToken() {
|
WireflyToken() {
|
||||||
super("Wirefly", "2/2 colorless Insect artifact creature token named Wirefly");
|
super("Wirefly", "2/2 colorless Insect artifact creature token with flying named Wirefly");
|
||||||
this.setOriginalExpansionSetCode("DST");
|
this.setOriginalExpansionSetCode("DST");
|
||||||
this.getPower().modifyBaseValue(2);
|
this.getPower().modifyBaseValue(2);
|
||||||
this.getToughness().modifyBaseValue(2);
|
this.getToughness().modifyBaseValue(2);
|
||||||
this.getSubtype(null).add("Insect");
|
this.getSubtype(null).add("Insect");
|
||||||
this.addCardType(CardType.ARTIFACT);
|
this.addCardType(CardType.ARTIFACT);
|
||||||
this.addCardType(CardType.CREATURE);
|
this.addCardType(CardType.CREATURE);
|
||||||
|
this.addAbility(FlyingAbility.getInstance());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue