mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[STX] Implemented Big Play
This commit is contained in:
parent
ccc1b8422b
commit
4240138888
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/b/BigPlay.java
Normal file
43
Mage.Sets/src/mage/cards/b/BigPlay.java
Normal file
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
||||
import mage.abilities.keyword.ReachAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.counters.CounterType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class BigPlay extends CardImpl {
|
||||
|
||||
public BigPlay(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{G}");
|
||||
|
||||
// Target creature gets +2/+2 and gains reach until end of turn. Put a +1/+1 counter on it.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(
|
||||
2, 2
|
||||
).setText("target creature gets +2/+2"));
|
||||
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(
|
||||
ReachAbility.getInstance(), Duration.EndOfTurn
|
||||
).setText("and gains reach until end of turn"));
|
||||
this.getSpellAbility().addEffect(new AddCountersTargetEffect(
|
||||
CounterType.P1P1.createInstance()
|
||||
).setText("Put a +1/+1 counter on it"));
|
||||
}
|
||||
|
||||
private BigPlay(final BigPlay card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BigPlay copy() {
|
||||
return new BigPlay(this);
|
||||
}
|
||||
}
|
|
@ -42,6 +42,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Arrogant Poet", 63, Rarity.COMMON, mage.cards.a.ArrogantPoet.class));
|
||||
cards.add(new SetCardInfo("Bayou Groff", 121, Rarity.COMMON, mage.cards.b.BayouGroff.class));
|
||||
cards.add(new SetCardInfo("Beaming Defiance", 9, Rarity.COMMON, mage.cards.b.BeamingDefiance.class));
|
||||
cards.add(new SetCardInfo("Big Play", 122, Rarity.COMMON, mage.cards.b.BigPlay.class));
|
||||
cards.add(new SetCardInfo("Biomathematician", 164, Rarity.COMMON, mage.cards.b.Biomathematician.class));
|
||||
cards.add(new SetCardInfo("Blade Historian", 165, Rarity.RARE, mage.cards.b.BladeHistorian.class));
|
||||
cards.add(new SetCardInfo("Blood Age General", 93, Rarity.COMMON, mage.cards.b.BloodAgeGeneral.class));
|
||||
|
|
Loading…
Reference in a new issue