mirror of
https://github.com/correl/mage.git
synced 2025-01-14 03:00:10 +00:00
[ONE] Implement Duelist of Deep Faith
This commit is contained in:
parent
d2aa0204b4
commit
ae55d00438
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/d/DuelistOfDeepFaith.java
Normal file
49
Mage.Sets/src/mage/cards/d/DuelistOfDeepFaith.java
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
package mage.cards.d;
|
||||||
|
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.common.SimpleStaticAbility;
|
||||||
|
import mage.abilities.condition.common.MyTurnCondition;
|
||||||
|
import mage.abilities.decorator.ConditionalContinuousEffect;
|
||||||
|
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||||
|
import mage.abilities.hint.common.MyTurnHint;
|
||||||
|
import mage.abilities.keyword.FirstStrikeAbility;
|
||||||
|
import mage.abilities.keyword.ToxicAbility;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class DuelistOfDeepFaith extends CardImpl {
|
||||||
|
|
||||||
|
public DuelistOfDeepFaith(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}");
|
||||||
|
|
||||||
|
this.subtype.add(SubType.PHYREXIAN);
|
||||||
|
this.subtype.add(SubType.SOLDIER);
|
||||||
|
this.power = new MageInt(2);
|
||||||
|
this.toughness = new MageInt(2);
|
||||||
|
|
||||||
|
// Toxic 1
|
||||||
|
this.addAbility(new ToxicAbility(1));
|
||||||
|
|
||||||
|
// As long as it's your turn, Duelist of Deep Faith has first strike.
|
||||||
|
this.addAbility(new SimpleStaticAbility(new ConditionalContinuousEffect(
|
||||||
|
new GainAbilitySourceEffect(FirstStrikeAbility.getInstance()),
|
||||||
|
MyTurnCondition.instance, "as long as it's your turn, {this} has first strike"
|
||||||
|
)).addHint(MyTurnHint.instance));
|
||||||
|
}
|
||||||
|
|
||||||
|
private DuelistOfDeepFaith(final DuelistOfDeepFaith card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public DuelistOfDeepFaith copy() {
|
||||||
|
return new DuelistOfDeepFaith(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -59,6 +59,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Dragonwing Glider", 128, Rarity.RARE, mage.cards.d.DragonwingGlider.class));
|
cards.add(new SetCardInfo("Dragonwing Glider", 128, Rarity.RARE, mage.cards.d.DragonwingGlider.class));
|
||||||
cards.add(new SetCardInfo("Dross Skullbomb", 225, Rarity.COMMON, mage.cards.d.DrossSkullbomb.class));
|
cards.add(new SetCardInfo("Dross Skullbomb", 225, Rarity.COMMON, mage.cards.d.DrossSkullbomb.class));
|
||||||
cards.add(new SetCardInfo("Drown in Ichor", 91, Rarity.UNCOMMON, mage.cards.d.DrownInIchor.class));
|
cards.add(new SetCardInfo("Drown in Ichor", 91, Rarity.UNCOMMON, mage.cards.d.DrownInIchor.class));
|
||||||
|
cards.add(new SetCardInfo("Duelist of Deep Faith", 9, Rarity.COMMON, mage.cards.d.DuelistOfDeepFaith.class));
|
||||||
cards.add(new SetCardInfo("Duress", 92, Rarity.COMMON, mage.cards.d.Duress.class));
|
cards.add(new SetCardInfo("Duress", 92, Rarity.COMMON, mage.cards.d.Duress.class));
|
||||||
cards.add(new SetCardInfo("Elesh Norn, Mother of Machines", 10, Rarity.MYTHIC, mage.cards.e.EleshNornMotherOfMachines.class));
|
cards.add(new SetCardInfo("Elesh Norn, Mother of Machines", 10, Rarity.MYTHIC, mage.cards.e.EleshNornMotherOfMachines.class));
|
||||||
cards.add(new SetCardInfo("Encroaching Mycosynth", 47, Rarity.RARE, mage.cards.e.EncroachingMycosynth.class));
|
cards.add(new SetCardInfo("Encroaching Mycosynth", 47, Rarity.RARE, mage.cards.e.EncroachingMycosynth.class));
|
||||||
|
|
Loading…
Reference in a new issue