mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
Fixed that Strength of Arms made a Soldier token instead of a Human Soldier token.
This commit is contained in:
parent
d4d486458f
commit
9c821f59da
1 changed files with 5 additions and 6 deletions
|
@ -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."));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue