forked from External/mage
[FIC] Implement Hraesvelgr of the First Brood (#13634)
This commit is contained in:
parent
d6d5d7f2b3
commit
6e0501e9b7
2 changed files with 68 additions and 0 deletions
66
Mage.Sets/src/mage/cards/h/HraesvelgrOfTheFirstBrood.java
Normal file
66
Mage.Sets/src/mage/cards/h/HraesvelgrOfTheFirstBrood.java
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
package mage.cards.h;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.SpellCastControllerTriggeredAbility;
|
||||
import mage.abilities.effects.common.combat.CantBeBlockedTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.meta.OrTriggeredAbility;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.abilities.keyword.VigilanceAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.keyword.WardAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
/**
|
||||
* @author balazskristof
|
||||
*/
|
||||
public final class HraesvelgrOfTheFirstBrood extends CardImpl {
|
||||
|
||||
public HraesvelgrOfTheFirstBrood(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{U}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.ELDER);
|
||||
this.subtype.add(SubType.DRAGON);
|
||||
this.power = new MageInt(5);
|
||||
this.toughness = new MageInt(5);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Vigilance
|
||||
this.addAbility(VigilanceAbility.getInstance());
|
||||
|
||||
// Ward {2}
|
||||
this.addAbility(new WardAbility(new ManaCostsImpl<>("{2}")));
|
||||
|
||||
// Shiva's Aid -- When Hraesvelgr enters and whenever you cast a noncreature spell, target creature gets +1/+0 until end of turn and can't be blocked this turn.
|
||||
Ability ability = new OrTriggeredAbility(
|
||||
Zone.BATTLEFIELD, new BoostTargetEffect(1, 0),
|
||||
new EntersBattlefieldTriggeredAbility(null),
|
||||
new SpellCastControllerTriggeredAbility(null, StaticFilters.FILTER_SPELL_A_NON_CREATURE, false)
|
||||
);
|
||||
ability.addEffect(new CantBeBlockedTargetEffect().setText("can't be blocked this turn").concatBy("and"));
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private HraesvelgrOfTheFirstBrood(final HraesvelgrOfTheFirstBrood card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HraesvelgrOfTheFirstBrood copy() {
|
||||
return new HraesvelgrOfTheFirstBrood(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -177,6 +177,8 @@ public final class FinalFantasyCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Hildibrand Manderville", 173, Rarity.RARE, mage.cards.h.HildibrandManderville.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Hildibrand Manderville", 83, Rarity.RARE, mage.cards.h.HildibrandManderville.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Hinterland Harbor", 403, Rarity.RARE, mage.cards.h.HinterlandHarbor.class));
|
||||
cards.add(new SetCardInfo("Hraesvelgr of the First Brood", 142, Rarity.RARE, mage.cards.h.HraesvelgrOfTheFirstBrood.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Hraesvelgr of the First Brood", 37, Rarity.RARE, mage.cards.h.HraesvelgrOfTheFirstBrood.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Hypnotic Sprite", 264, Rarity.UNCOMMON, mage.cards.h.HypnoticSprite.class));
|
||||
cards.add(new SetCardInfo("Idyllic Beachfront", 404, Rarity.COMMON, mage.cards.i.IdyllicBeachfront.class));
|
||||
cards.add(new SetCardInfo("Incubation Druid", 309, Rarity.RARE, mage.cards.i.IncubationDruid.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue