mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[AFR] Implemented You Come to the Gnoll Camp
This commit is contained in:
parent
ec6cb4919f
commit
eda7253b2f
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/y/YouComeToTheGnollCamp.java
Normal file
42
Mage.Sets/src/mage/cards/y/YouComeToTheGnollCamp.java
Normal file
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.y;
|
||||
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.effects.common.combat.CantBlockTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class YouComeToTheGnollCamp extends CardImpl {
|
||||
|
||||
public YouComeToTheGnollCamp(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{R}");
|
||||
|
||||
// Choose one —
|
||||
// • Intimidate Them — Up to two target creatures can't block this turn.
|
||||
this.getSpellAbility().addEffect(new CantBlockTargetEffect(Duration.EndOfTurn));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 2));
|
||||
this.getSpellAbility().withFirstModeFlavorWord("Intimidate Them");
|
||||
|
||||
// • Fend Them Off — Target creature gets +3/+1 until end of turn.
|
||||
Mode mode = new Mode(new BoostTargetEffect(3, 1));
|
||||
mode.addTarget(new TargetCreaturePermanent());
|
||||
this.getSpellAbility().addMode(mode.withFlavorWord("Fend Them Off"));
|
||||
}
|
||||
|
||||
private YouComeToTheGnollCamp(final YouComeToTheGnollCamp card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public YouComeToTheGnollCamp copy() {
|
||||
return new YouComeToTheGnollCamp(this);
|
||||
}
|
||||
}
|
|
@ -128,6 +128,7 @@ public final class AdventuresInTheForgottenRealms extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Vorpal Sword", 124, Rarity.RARE, mage.cards.v.VorpalSword.class));
|
||||
cards.add(new SetCardInfo("Werewolf Pack Leader", 211, Rarity.RARE, mage.cards.w.WerewolfPackLeader.class));
|
||||
cards.add(new SetCardInfo("You Come to a River", 83, Rarity.COMMON, mage.cards.y.YouComeToARiver.class));
|
||||
cards.add(new SetCardInfo("You Come to the Gnoll Camp", 168, Rarity.COMMON, mage.cards.y.YouComeToTheGnollCamp.class));
|
||||
cards.add(new SetCardInfo("You Find a Cursed Idol", 213, Rarity.COMMON, mage.cards.y.YouFindACursedIdol.class));
|
||||
cards.add(new SetCardInfo("You Find the Villains' Lair", 84, Rarity.COMMON, mage.cards.y.YouFindTheVillainsLair.class));
|
||||
cards.add(new SetCardInfo("You Hear Something on Watch", 42, Rarity.COMMON, mage.cards.y.YouHearSomethingOnWatch.class));
|
||||
|
|
Loading…
Reference in a new issue