mirror of
https://github.com/correl/mage.git
synced 2024-12-28 11:14:13 +00:00
[VOW] Implemented Foreboding Statue / Forsaken Thresher
This commit is contained in:
parent
3e81a18e27
commit
f72076befe
3 changed files with 99 additions and 0 deletions
59
Mage.Sets/src/mage/cards/f/ForebodingStatue.java
Normal file
59
Mage.Sets/src/mage/cards/f/ForebodingStatue.java
Normal file
|
@ -0,0 +1,59 @@
|
|||
package mage.cards.f;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.BeginningOfEndStepTriggeredAbility;
|
||||
import mage.abilities.condition.common.SourceHasCounterCondition;
|
||||
import mage.abilities.effects.common.TransformSourceEffect;
|
||||
import mage.abilities.effects.common.UntapSourceEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.keyword.TransformAbility;
|
||||
import mage.abilities.mana.AnyColorManaAbility;
|
||||
import mage.constants.SubType;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.constants.Zone;
|
||||
import mage.counters.CounterType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author weirddan455
|
||||
*/
|
||||
public final class ForebodingStatue extends CardImpl {
|
||||
|
||||
public ForebodingStatue(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{3}");
|
||||
|
||||
this.subtype.add(SubType.CONSTRUCT);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(2);
|
||||
this.transformable = true;
|
||||
this.secondSideCardClazz = mage.cards.f.ForsakenThresher.class;
|
||||
|
||||
// {T}: Add one mana of any color. Put an omen counter on Foreboding Statue.
|
||||
Ability ability = new AnyColorManaAbility();
|
||||
ability.addEffect(new AddCountersSourceEffect(CounterType.OMEN.createInstance()));
|
||||
this.addAbility(ability);
|
||||
|
||||
// At the beginning of your end step, if there are three or more omen counters on Foreboding Statue, uptap it, then transform it.
|
||||
this.addAbility(new TransformAbility());
|
||||
ability = new BeginningOfEndStepTriggeredAbility(
|
||||
Zone.BATTLEFIELD, new UntapSourceEffect().setText("untap it,"), TargetController.YOU,
|
||||
new SourceHasCounterCondition(CounterType.OMEN, 3), false
|
||||
).setTriggerPhrase("At the beginning of your end step, if there are three or more omen counters on {this}, ");
|
||||
ability.addEffect(new TransformSourceEffect(true, true).setText("then transform it"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private ForebodingStatue(final ForebodingStatue card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ForebodingStatue copy() {
|
||||
return new ForebodingStatue(this);
|
||||
}
|
||||
}
|
38
Mage.Sets/src/mage/cards/f/ForsakenThresher.java
Normal file
38
Mage.Sets/src/mage/cards/f/ForsakenThresher.java
Normal file
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.f;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.BeginningOfPreCombatMainTriggeredAbility;
|
||||
import mage.abilities.effects.mana.AddManaOfAnyColorEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.TargetController;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
public class ForsakenThresher extends CardImpl {
|
||||
|
||||
public ForsakenThresher(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "");
|
||||
|
||||
this.subtype.add(SubType.CONSTRUCT);
|
||||
this.power = new MageInt(5);
|
||||
this.toughness = new MageInt(5);
|
||||
|
||||
// Back half of Foreboding Statue
|
||||
this.nightCard = true;
|
||||
|
||||
// At the beginning of your precombat main phase, add one mana of any color.
|
||||
this.addAbility(new BeginningOfPreCombatMainTriggeredAbility(new AddManaOfAnyColorEffect(), TargetController.YOU, false));
|
||||
}
|
||||
|
||||
private ForsakenThresher(final ForsakenThresher card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ForsakenThresher copy() {
|
||||
return new ForsakenThresher(this);
|
||||
}
|
||||
}
|
|
@ -86,7 +86,9 @@ public final class InnistradCrimsonVow extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Fearsome Werewolf", 157, Rarity.COMMON, mage.cards.f.FearsomeWerewolf.class));
|
||||
cards.add(new SetCardInfo("Fell Stinger", 112, Rarity.UNCOMMON, mage.cards.f.FellStinger.class));
|
||||
cards.add(new SetCardInfo("Flourishing Hunter", 199, Rarity.COMMON, mage.cards.f.FlourishingHunter.class));
|
||||
cards.add(new SetCardInfo("Foreboding Statue", 256, Rarity.UNCOMMON, mage.cards.f.ForebodingStatue.class));
|
||||
cards.add(new SetCardInfo("Forest", 402, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Forsaken Thresher", 256, Rarity.UNCOMMON, mage.cards.f.ForsakenThresher.class));
|
||||
cards.add(new SetCardInfo("Frenzied Devils", 159, Rarity.UNCOMMON, mage.cards.f.FrenziedDevils.class));
|
||||
cards.add(new SetCardInfo("Geistlight Snare", 60, Rarity.UNCOMMON, mage.cards.g.GeistlightSnare.class));
|
||||
cards.add(new SetCardInfo("Geralf, Visionary Stitcher", 61, Rarity.RARE, mage.cards.g.GeralfVisionaryStitcher.class));
|
||||
|
|
Loading…
Reference in a new issue