* Join the Ranks - Fixed that the created tokens had no Ally subtype.

This commit is contained in:
LevelX2 2014-10-09 07:56:39 +02:00
parent 995655aa61
commit 48c1294b64

View file

@ -30,11 +30,10 @@ package mage.sets.worldwake;
import java.util.UUID; import java.util.UUID;
import mage.MageInt; import mage.MageInt;
import mage.constants.CardType;
import mage.constants.Rarity;
import mage.abilities.effects.common.CreateTokenEffect; import mage.abilities.effects.common.CreateTokenEffect;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.game.permanent.token.SoldierToken; import mage.constants.CardType;
import mage.constants.Rarity;
import mage.game.permanent.token.Token; import mage.game.permanent.token.Token;
/** /**
@ -49,7 +48,7 @@ public class JoinTheRanks extends CardImpl {
this.color.setWhite(true); this.color.setWhite(true);
// Put two 1/1 white Soldier Ally creature tokens onto the battlefield. // Put two 1/1 white Soldier Ally creature tokens onto the battlefield.
this.getSpellAbility().addEffect(new CreateTokenEffect(new SoldierToken(), 2)); this.getSpellAbility().addEffect(new CreateTokenEffect(new JoinTheRanksSoldierToken(), 2));
} }
public JoinTheRanks (final JoinTheRanks card) { public JoinTheRanks (final JoinTheRanks card) {