diff --git a/Mage.Sets/src/mage/cards/s/StrengthOfTheCoalition.java b/Mage.Sets/src/mage/cards/s/StrengthOfTheCoalition.java new file mode 100644 index 0000000000..7267c6629c --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/StrengthOfTheCoalition.java @@ -0,0 +1,49 @@ +package mage.cards.s; + +import java.util.UUID; + +import mage.abilities.condition.common.KickedCondition; +import mage.abilities.decorator.ConditionalOneShotEffect; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.abilities.effects.common.counter.AddCountersAllEffect; +import mage.abilities.keyword.KickerAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.counters.CounterType; +import mage.filter.StaticFilters; +import mage.target.common.TargetControlledCreaturePermanent; + +/** + * + * @author weirddan455 + */ +public final class StrengthOfTheCoalition extends CardImpl { + + public StrengthOfTheCoalition(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{G}"); + + // Kicker {2}{W} + this.addAbility(new KickerAbility("{2}{W}")); + + // Target creature you control gets +2/+2 until end of turn. + this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent()); + this.getSpellAbility().addEffect(new BoostTargetEffect(2, 2)); + + // If this spell was kicked, put a +1/+1 counter on each creature you control. + this.getSpellAbility().addEffect(new ConditionalOneShotEffect( + new AddCountersAllEffect(CounterType.P1P1.createInstance(), StaticFilters.FILTER_CONTROLLED_CREATURE), + KickedCondition.ONCE, + "If this spell was kicked, put a +1/+1 counter on each creature you control." + )); + } + + private StrengthOfTheCoalition(final StrengthOfTheCoalition card) { + super(card); + } + + @Override + public StrengthOfTheCoalition copy() { + return new StrengthOfTheCoalition(this); + } +} diff --git a/Mage.Sets/src/mage/sets/DominariaUnited.java b/Mage.Sets/src/mage/sets/DominariaUnited.java index 94efef0399..543d05bb70 100644 --- a/Mage.Sets/src/mage/sets/DominariaUnited.java +++ b/Mage.Sets/src/mage/sets/DominariaUnited.java @@ -69,6 +69,7 @@ public final class DominariaUnited extends ExpansionSet { cards.add(new SetCardInfo("Shivan Reef", 255, Rarity.RARE, mage.cards.s.ShivanReef.class)); cards.add(new SetCardInfo("Snarespinner", 179, Rarity.COMMON, mage.cards.s.Snarespinner.class)); cards.add(new SetCardInfo("Stall for Time", 34, Rarity.COMMON, mage.cards.s.StallForTime.class)); + cards.add(new SetCardInfo("Strength of the Coalition", 180, Rarity.UNCOMMON, mage.cards.s.StrengthOfTheCoalition.class)); cards.add(new SetCardInfo("Sulfurous Springs", 256, Rarity.RARE, mage.cards.s.SulfurousSprings.class)); cards.add(new SetCardInfo("Swamp", 268, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Take Up the Shield", 35, Rarity.COMMON, mage.cards.t.TakeUpTheShield.class));