mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Implemented Stirring Address
This commit is contained in:
parent
5f9ffddc42
commit
7027ac3296
2 changed files with 42 additions and 0 deletions
41
Mage.Sets/src/mage/cards/s/StirringAddress.java
Normal file
41
Mage.Sets/src/mage/cards/s/StirringAddress.java
Normal file
|
@ -0,0 +1,41 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.keyword.OverloadAbility;
|
||||
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 StirringAddress extends CardImpl {
|
||||
|
||||
public StirringAddress(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{W}");
|
||||
|
||||
// Target creature you control gets +2/+2 until end of turn.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(2, 2, Duration.EndOfTurn));
|
||||
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
|
||||
|
||||
// Overload {5}{W}
|
||||
this.addAbility(new OverloadAbility(this, new BoostControlledEffect(
|
||||
2, 2, Duration.EndOfTurn
|
||||
).setText("Each creature you control gets +2/+2 until end of turn."), new ManaCostsImpl("{5}{W}")));
|
||||
}
|
||||
|
||||
private StirringAddress(final StirringAddress card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StirringAddress copy() {
|
||||
return new StirringAddress(this);
|
||||
}
|
||||
}
|
|
@ -196,6 +196,7 @@ public final class ModernHorizons extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Spore Frog", 180, Rarity.COMMON, mage.cards.s.SporeFrog.class));
|
||||
cards.add(new SetCardInfo("Springbloom Druid", 181, Rarity.COMMON, mage.cards.s.SpringbloomDruid.class));
|
||||
cards.add(new SetCardInfo("Squirrel Nest", 182, Rarity.UNCOMMON, mage.cards.s.SquirrelNest.class));
|
||||
cards.add(new SetCardInfo("Stirring Address", 32, Rarity.COMMON, mage.cards.s.StirringAddress.class));
|
||||
cards.add(new SetCardInfo("Stream of Thought", 71, Rarity.COMMON, mage.cards.s.StreamOfThought.class));
|
||||
cards.add(new SetCardInfo("String of Disappearances", 72, Rarity.COMMON, mage.cards.s.StringOfDisappearances.class));
|
||||
cards.add(new SetCardInfo("Sunbaked Canyon", 247, Rarity.RARE, mage.cards.s.SunbakedCanyon.class));
|
||||
|
|
Loading…
Reference in a new issue