fixed Young Pyromancer text

This commit is contained in:
Evan Kranzler 2018-06-28 09:06:51 -04:00
parent aea831aeff
commit 2b78716a1b
2 changed files with 5 additions and 4 deletions

View file

@ -1,4 +1,3 @@
package mage.cards.y;
import java.util.UUID;
@ -27,7 +26,10 @@ public final class YoungPyromancer extends CardImpl {
this.toughness = new MageInt(1);
// Whenever you cast an instant or sorcery spell, create a 1/1 red Elemental creature token.
this.addAbility(new SpellCastControllerTriggeredAbility(new CreateTokenEffect(new YoungPyromancerElementalToken()), StaticFilters.FILTER_SPELL_INSTANT_OR_SORCERY, false));
this.addAbility(new SpellCastControllerTriggeredAbility(
new CreateTokenEffect(new YoungPyromancerElementalToken()),
StaticFilters.FILTER_SPELL_INSTANT_OR_SORCERY, false
));
}

View file

@ -1,4 +1,3 @@
package mage.game.permanent.token;
import mage.MageInt;
@ -13,7 +12,7 @@ import mage.util.RandomUtil;
public final class YoungPyromancerElementalToken extends TokenImpl {
public YoungPyromancerElementalToken() {
super("Elemental", "1/1 red Elemental creature");
super("Elemental", "1/1 red Elemental creature token");
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("M14")) {
setTokenType(RandomUtil.nextInt(2) + 1);
}