mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
fixed Young Pyromancer text
This commit is contained in:
parent
aea831aeff
commit
2b78716a1b
2 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue