diff --git a/Mage.Sets/src/mage/cards/p/PhalanxTactics.java b/Mage.Sets/src/mage/cards/p/PhalanxTactics.java new file mode 100644 index 0000000000..360a598d27 --- /dev/null +++ b/Mage.Sets/src/mage/cards/p/PhalanxTactics.java @@ -0,0 +1,37 @@ +package mage.cards.p; + +import mage.abilities.effects.common.continuous.BoostControlledEffect; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.target.common.TargetControlledCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class PhalanxTactics extends CardImpl { + + public PhalanxTactics(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{W}"); + + // Target creature you control gets +2/+1 until end of turn. Each other creature you control gets +1/+1 until end of turn. + this.getSpellAbility().addEffect(new BoostTargetEffect(1, 0) + .setText("Target creature you control gets +2/+1 until end of turn.")); + this.getSpellAbility().addEffect(new BoostControlledEffect(1, 1, Duration.EndOfTurn) + .setText("Each other creature you control gets +1/+1 until end of turn.")); + this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent()); + } + + private PhalanxTactics(final PhalanxTactics card) { + super(card); + } + + @Override + public PhalanxTactics copy() { + return new PhalanxTactics(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java index 700bb146a4..bdacf0e538 100644 --- a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java +++ b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java @@ -156,6 +156,7 @@ public final class TherosBeyondDeath extends ExpansionSet { cards.add(new SetCardInfo("One with the Stars", 59, Rarity.UNCOMMON, mage.cards.o.OneWithTheStars.class)); cards.add(new SetCardInfo("Oread of Mountain's Blaze", 146, Rarity.COMMON, mage.cards.o.OreadOfMountainsBlaze.class)); cards.add(new SetCardInfo("Ox of Agonas", 147, Rarity.MYTHIC, mage.cards.o.OxOfAgonas.class)); + cards.add(new SetCardInfo("Phalanx Tactics", 31, Rarity.UNCOMMON, mage.cards.p.PhalanxTactics.class)); cards.add(new SetCardInfo("Pharika's Libation", 111, Rarity.COMMON, mage.cards.p.PharikasLibation.class)); cards.add(new SetCardInfo("Pharika's Spawn", 112, Rarity.UNCOMMON, mage.cards.p.PharikasSpawn.class)); cards.add(new SetCardInfo("Phoenix of Ash", 148, Rarity.RARE, mage.cards.p.PhoenixOfAsh.class));