[AFR] Implemented Minsc, Beloved Ranger

This commit is contained in:
Evan Kranzler 2021-07-07 17:26:29 -04:00
parent 3d5c88d162
commit ace3a8be86
5 changed files with 117 additions and 0 deletions

View file

@ -114,6 +114,7 @@ public class CreateTokenEffect extends OneShotEffect {
private void setText() {
if (token.getDescription().contains(", a legendary")) {
staticText = "create " + token.getDescription();
return;
}
StringBuilder sb = new StringBuilder("create ");
if (amount.toString().equals("1")) {

View file

@ -173,6 +173,7 @@ public enum SubType {
// H
HAG("Hag", SubTypeSet.CreatureType),
HALFLING("Halfling", SubTypeSet.CreatureType),
HAMSTER("Hamster", SubTypeSet.CreatureType),
HARPY("Harpy", SubTypeSet.CreatureType),
HELLION("Hellion", SubTypeSet.CreatureType),
HIPPO("Hippo", SubTypeSet.CreatureType),

View file

@ -0,0 +1,34 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.keyword.HasteAbility;
import mage.abilities.keyword.TrampleAbility;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.SuperType;
/**
* @author TheElk801
*/
public final class BooToken extends TokenImpl {
public BooToken() {
super("Boo", "Boo, a legendary 1/1 red Hamster creature token with trample and haste");
supertype.add(SuperType.LEGENDARY);
cardType.add(CardType.CREATURE);
color.setRed(true);
subtype.add(SubType.HAMSTER);
power = new MageInt(1);
toughness = new MageInt(1);
addAbility(TrampleAbility.getInstance());
addAbility(HasteAbility.getInstance());
}
private BooToken(final BooToken token) {
super(token);
}
public BooToken copy() {
return new BooToken(this);
}
}