Fixed that Strength of Arms made a Soldier token instead of a Human Soldier token.

This commit is contained in:
fireshoes 2016-05-18 10:20:18 -05:00
parent d4d486458f
commit 9c821f59da

View file

@ -38,7 +38,6 @@ import mage.constants.Duration;
import mage.constants.Rarity; import mage.constants.Rarity;
import mage.filter.common.FilterControlledPermanent; import mage.filter.common.FilterControlledPermanent;
import mage.filter.predicate.mageobject.SubtypePredicate; import mage.filter.predicate.mageobject.SubtypePredicate;
import mage.game.permanent.token.SoldierToken;
import mage.target.common.TargetCreaturePermanent; import mage.target.common.TargetCreaturePermanent;
/** /**
@ -60,7 +59,7 @@ public class StrengthOfArms extends CardImpl {
// If you control an Equipment, put a 1/1 white Human Soldier creature token onto the battlefield. // If you control an Equipment, put a 1/1 white Human Soldier creature token onto the battlefield.
this.getSpellAbility().addEffect(new BoostTargetEffect(2, 2, Duration.EndOfTurn)); this.getSpellAbility().addEffect(new BoostTargetEffect(2, 2, Duration.EndOfTurn));
this.getSpellAbility().addTarget(new TargetCreaturePermanent()); this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new CreateTokenEffect(new SoldierToken()), this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new CreateTokenEffect(new HumanSoldierToken()),
new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.MORE_THAN, 0), new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.MORE_THAN, 0),
"If you control an Equipment, put a 1/1 white Human Soldier creature token onto the battlefield.")); "If you control an Equipment, put a 1/1 white Human Soldier creature token onto the battlefield."));
} }