mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[AFR] Implemented Compelled Duel
This commit is contained in:
parent
7daa578a03
commit
41392c00af
2 changed files with 36 additions and 0 deletions
35
Mage.Sets/src/mage/cards/c/CompelledDuel.java
Normal file
35
Mage.Sets/src/mage/cards/c/CompelledDuel.java
Normal file
|
@ -0,0 +1,35 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.effects.common.combat.MustBeBlockedByAtLeastOneTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author weirddan455
|
||||
*/
|
||||
public final class CompelledDuel extends CardImpl {
|
||||
|
||||
public CompelledDuel(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{G}");
|
||||
|
||||
// Target creature gets +3/+3 until end of turn and must be blocked this turn if able.
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(3, 3));
|
||||
this.getSpellAbility().addEffect(new MustBeBlockedByAtLeastOneTargetEffect().setText("and must be blocked this turn if able"));
|
||||
}
|
||||
|
||||
private CompelledDuel(final CompelledDuel card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CompelledDuel copy() {
|
||||
return new CompelledDuel(this);
|
||||
}
|
||||
}
|
|
@ -53,6 +53,7 @@ public final class AdventuresInTheForgottenRealms extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Clattering Skeletons", 93, Rarity.COMMON, mage.cards.c.ClatteringSkeletons.class));
|
||||
cards.add(new SetCardInfo("Clever Conjurer", 51, Rarity.COMMON, mage.cards.c.CleverConjurer.class));
|
||||
cards.add(new SetCardInfo("Cloister Gargoyle", 7, Rarity.UNCOMMON, mage.cards.c.CloisterGargoyle.class));
|
||||
cards.add(new SetCardInfo("Compelled Duel", 178, Rarity.COMMON, mage.cards.c.CompelledDuel.class));
|
||||
cards.add(new SetCardInfo("Contact Other Plane", 52, Rarity.COMMON, mage.cards.c.ContactOtherPlane.class));
|
||||
cards.add(new SetCardInfo("Dawnbringer Cleric", 9, Rarity.COMMON, mage.cards.d.DawnbringerCleric.class));
|
||||
cards.add(new SetCardInfo("Death-Priest of Myrkul", 95, Rarity.UNCOMMON, mage.cards.d.DeathPriestOfMyrkul.class));
|
||||
|
|
Loading…
Reference in a new issue