forked from External/mage
Implemented Azra Smokeshaper
This commit is contained in:
parent
c48b4bfc3d
commit
bf68d264b4
2 changed files with 52 additions and 0 deletions
51
Mage.Sets/src/mage/cards/a/AzraSmokeshaper.java
Normal file
51
Mage.Sets/src/mage/cards/a/AzraSmokeshaper.java
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.keyword.IndestructibleAbility;
|
||||
import mage.abilities.keyword.NinjutsuAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetControlledCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AzraSmokeshaper extends CardImpl {
|
||||
|
||||
public AzraSmokeshaper(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}");
|
||||
|
||||
this.subtype.add(SubType.AZRA);
|
||||
this.subtype.add(SubType.NINJA);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Ninjutsu {1}{B}
|
||||
this.addAbility(new NinjutsuAbility(new ManaCostsImpl("{1}{B}")));
|
||||
|
||||
// When Azra Smokeshaper enters the battlefield, target creature you control gains indestructible until end of turn.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new GainAbilityTargetEffect(
|
||||
IndestructibleAbility.getInstance(), Duration.EndOfTurn
|
||||
));
|
||||
ability.addTarget(new TargetControlledCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private AzraSmokeshaper(final AzraSmokeshaper card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AzraSmokeshaper copy() {
|
||||
return new AzraSmokeshaper(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -36,6 +36,7 @@ public final class ModernHorizons extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Astral Drift", 3, Rarity.RARE, mage.cards.a.AstralDrift.class));
|
||||
cards.add(new SetCardInfo("Ayula's Influence", 156, Rarity.RARE, mage.cards.a.AyulasInfluence.class));
|
||||
cards.add(new SetCardInfo("Ayula, Queen Among Bears", 155, Rarity.RARE, mage.cards.a.AyulaQueenAmongBears.class));
|
||||
cards.add(new SetCardInfo("Azra Smokeshaper", 79, Rarity.COMMON, mage.cards.a.AzraSmokeshaper.class));
|
||||
cards.add(new SetCardInfo("Barren Moor", 236, Rarity.UNCOMMON, mage.cards.b.BarrenMoor.class));
|
||||
cards.add(new SetCardInfo("Battle Screech", 4, Rarity.UNCOMMON, mage.cards.b.BattleScreech.class));
|
||||
cards.add(new SetCardInfo("Bazaar Trademage", 41, Rarity.RARE, mage.cards.b.BazaarTrademage.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue