[NEO] Implemented Fable of the Mirror Breaker / Reflection of Kiki-Jiki

This commit is contained in:
Evan Kranzler 2022-02-07 20:38:03 -05:00
parent e2ad74cb75
commit 76a1187c8e
5 changed files with 198 additions and 11 deletions

View file

@ -0,0 +1,33 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.common.AttacksTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.constants.CardType;
import mage.constants.SubType;
/**
* @author TheElk801
*/
public class FableOfTheMirrorBreakerToken extends TokenImpl {
public FableOfTheMirrorBreakerToken() {
super("Goblin Shaman Token", "2/2 red Goblin Shaman creature token with \"Whenever this creature attacks, create a Treasure token.\"");
cardType.add(CardType.CREATURE);
color.setRed(true);
subtype.add(SubType.GOBLIN);
subtype.add(SubType.SHAMAN);
power = new MageInt(2);
toughness = new MageInt(2);
addAbility(new AttacksTriggeredAbility(new CreateTokenEffect(new TreasureToken())).setTriggerPhrase("Whenever this creature attacks, "));
}
private FableOfTheMirrorBreakerToken(final FableOfTheMirrorBreakerToken token) {
super(token);
}
@Override
public FableOfTheMirrorBreakerToken copy() {
return new FableOfTheMirrorBreakerToken(this);
}
}