forked from External/mage
Implemented Fire-Omen Crane
This commit is contained in:
parent
96840a9397
commit
f419804f21
2 changed files with 47 additions and 0 deletions
46
Mage.Sets/src/mage/cards/f/FireOmenCrane.java
Normal file
46
Mage.Sets/src/mage/cards/f/FireOmenCrane.java
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
package mage.cards.f;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.constants.SubType;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetOpponentsCreaturePermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class FireOmenCrane extends CardImpl {
|
||||
|
||||
public FireOmenCrane(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}{R}");
|
||||
|
||||
this.subtype.add(SubType.BIRD);
|
||||
this.subtype.add(SubType.SPIRIT);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Whenever Fire-Omen Crane attacks, it deals 1 damage to target creature an opponent controls.
|
||||
Ability ability = new AttacksTriggeredAbility(new DamageTargetEffect(1, "it"), false);
|
||||
ability.addTarget(new TargetOpponentsCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
public FireOmenCrane(final FireOmenCrane card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FireOmenCrane copy() {
|
||||
return new FireOmenCrane(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -35,6 +35,7 @@ public final class JiangYangguMuYanling extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Earthshaking Si", 31, Rarity.COMMON, mage.cards.e.EarthshakingSi.class));
|
||||
cards.add(new SetCardInfo("Feiyi Snake", 24, Rarity.COMMON, mage.cards.f.FeiyiSnake.class));
|
||||
cards.add(new SetCardInfo("Ferocious Zheng", 28, Rarity.COMMON, mage.cards.f.FerociousZheng.class));
|
||||
cards.add(new SetCardInfo("Fire-Omen Crane", 29, Rarity.UNCOMMON, mage.cards.f.FireOmenCrane.class));
|
||||
cards.add(new SetCardInfo("Forest", 40, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Giant Spider", 27, Rarity.COMMON, mage.cards.g.GiantSpider.class));
|
||||
cards.add(new SetCardInfo("Hardened-Scale Armor", 32, Rarity.COMMON, mage.cards.h.HardenedScaleArmor.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue