[ONE] Implement Mirrex

This commit is contained in:
theelk801 2023-01-14 13:16:29 -05:00
parent 4acd7d6604
commit 7ca7ed52d4
4 changed files with 121 additions and 2 deletions

View file

@ -247,6 +247,7 @@ public enum SubType {
MINION("Minion", SubTypeSet.CreatureType),
MINOTAUR("Minotaur", SubTypeSet.CreatureType),
MIRIALAN("Mirialan", SubTypeSet.CreatureType, true), // Star Wars
MITE("Mite", SubTypeSet.CreatureType),
MOLE("Mole", SubTypeSet.CreatureType),
MONGER("Monger", SubTypeSet.CreatureType),
MONGOOSE("Mongoose", SubTypeSet.CreatureType),

View file

@ -0,0 +1,41 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.common.combat.CantBlockSourceEffect;
import mage.abilities.keyword.ToxicAbility;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import java.util.Arrays;
/**
* @author TheElk801
*/
public final class PhyrexianMiteToken extends TokenImpl {
public PhyrexianMiteToken() {
super("Phyrexian Mite Token", "1/1 colorless Phyrexian Mite artifact creature token with toxic 1 and \"This creature can't block.\"");
cardType.add(CardType.ARTIFACT);
cardType.add(CardType.CREATURE);
subtype.add(SubType.PHYREXIAN);
subtype.add(SubType.MITE);
power = new MageInt(1);
toughness = new MageInt(1);
this.addAbility(new ToxicAbility(1));
this.addAbility(new SimpleStaticAbility(new CantBlockSourceEffect(Duration.WhileOnBattlefield).setText("this creature can't block")));
availableImageSetCodes = Arrays.asList("ONE");
}
public PhyrexianMiteToken(final PhyrexianMiteToken token) {
super(token);
}
@Override
public PhyrexianMiteToken copy() {
return new PhyrexianMiteToken(this);
}
}