[VOW] Implemented Torens, Fist of the Angels

This commit is contained in:
Evan Kranzler 2021-10-29 22:34:06 -04:00
parent 51ee418701
commit 492d1ce957
3 changed files with 83 additions and 0 deletions

View file

@ -0,0 +1,49 @@
package mage.cards.t;
import mage.MageInt;
import mage.abilities.common.SpellCastControllerTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.TrainingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.filter.StaticFilters;
import mage.game.permanent.token.HumanSoldierTrainingToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class TorensFistOfTheAngels extends CardImpl {
public TorensFistOfTheAngels(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}{W}");
this.addSuperType(SuperType.LEGENDARY);
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.CLERIC);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
// Training
this.addAbility(new TrainingAbility());
// Whenever you cast a creature spell, create a 1/1 green and white Human Soldier creature token with training.
this.addAbility(new SpellCastControllerTriggeredAbility(
new CreateTokenEffect(new HumanSoldierTrainingToken()),
StaticFilters.FILTER_SPELL_A_CREATURE, false
));
}
private TorensFistOfTheAngels(final TorensFistOfTheAngels card) {
super(card);
}
@Override
public TorensFistOfTheAngels copy() {
return new TorensFistOfTheAngels(this);
}
}

View file

@ -59,6 +59,7 @@ public final class InnistradCrimsonVow extends ExpansionSet {
cards.add(new SetCardInfo("Sundown Pass", 266, Rarity.RARE, mage.cards.s.SundownPass.class));
cards.add(new SetCardInfo("Swamp", 272, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Thalia, Guardian of Thraben", 38, Rarity.RARE, mage.cards.t.ThaliaGuardianOfThraben.class));
cards.add(new SetCardInfo("Torens, Fist of the Angels", 249, Rarity.RARE, mage.cards.t.TorensFistOfTheAngels.class));
cards.add(new SetCardInfo("Vampires' Vengeance", 180, Rarity.UNCOMMON, mage.cards.v.VampiresVengeance.class));
cards.add(new SetCardInfo("Voldaren Estate", 267, Rarity.RARE, mage.cards.v.VoldarenEstate.class));
cards.add(new SetCardInfo("Weary Prisoner", 184, Rarity.COMMON, mage.cards.w.WearyPrisoner.class));

View file

@ -0,0 +1,33 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.keyword.TrainingAbility;
import mage.constants.CardType;
import mage.constants.SubType;
/**
* @author TheElk801
*/
public class HumanSoldierTrainingToken extends TokenImpl {
public HumanSoldierTrainingToken() {
super("Human Soldier", "1/1 green and white Human Soldier creature token with training");
cardType.add(CardType.CREATURE);
color.setGreen(true);
color.setWhite(true);
subtype.add(SubType.HUMAN);
subtype.add(SubType.SOLDIER);
power = new MageInt(1);
toughness = new MageInt(1);
this.addAbility(new TrainingAbility());
}
private HumanSoldierTrainingToken(final HumanSoldierTrainingToken token) {
super(token);
}
@Override
public HumanSoldierTrainingToken copy() {
return new HumanSoldierTrainingToken(this);
}
}