mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 02:52:02 -08:00
[DSK] Implement Jump Scare
This commit is contained in:
parent
5e288deea6
commit
719391a071
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/j/JumpScare.java
Normal file
47
Mage.Sets/src/mage/cards/j/JumpScare.java
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
package mage.cards.j;
|
||||||
|
|
||||||
|
import mage.abilities.effects.common.continuous.AddCardSubTypeTargetEffect;
|
||||||
|
import mage.abilities.effects.common.continuous.AddCardTypeTargetEffect;
|
||||||
|
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||||
|
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||||
|
import mage.abilities.keyword.FlyingAbility;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.Duration;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
import mage.target.common.TargetCreaturePermanent;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class JumpScare extends CardImpl {
|
||||||
|
|
||||||
|
public JumpScare(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{W}");
|
||||||
|
|
||||||
|
// Until end of turn, target creature gets +2/+2, gains flying, and becomes a Horror enchantment creature in addition to its other types.
|
||||||
|
this.getSpellAbility().addEffect(new BoostTargetEffect(2, 2)
|
||||||
|
.setText("until end of turn, target creature gets +2/+2"));
|
||||||
|
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(FlyingAbility.getInstance())
|
||||||
|
.setText(", gains flying"));
|
||||||
|
this.getSpellAbility().addEffect(new AddCardSubTypeTargetEffect(
|
||||||
|
SubType.HORROR, Duration.EndOfTurn
|
||||||
|
).setText(", and becomes "));
|
||||||
|
this.getSpellAbility().addEffect(new AddCardTypeTargetEffect(
|
||||||
|
Duration.EndOfTurn, CardType.ENCHANTMENT, CardType.CREATURE
|
||||||
|
).setText("a Horror enchantment creature in addition to its other types"));
|
||||||
|
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||||
|
}
|
||||||
|
|
||||||
|
private JumpScare(final JumpScare card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public JumpScare copy() {
|
||||||
|
return new JumpScare(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -120,6 +120,7 @@ public final class DuskmournHouseOfHorror extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Insidious Fungus", 186, Rarity.UNCOMMON, mage.cards.i.InsidiousFungus.class));
|
cards.add(new SetCardInfo("Insidious Fungus", 186, Rarity.UNCOMMON, mage.cards.i.InsidiousFungus.class));
|
||||||
cards.add(new SetCardInfo("Intruding Soulrager", 218, Rarity.UNCOMMON, mage.cards.i.IntrudingSoulrager.class));
|
cards.add(new SetCardInfo("Intruding Soulrager", 218, Rarity.UNCOMMON, mage.cards.i.IntrudingSoulrager.class));
|
||||||
cards.add(new SetCardInfo("Island", 273, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS));
|
cards.add(new SetCardInfo("Island", 273, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS));
|
||||||
|
cards.add(new SetCardInfo("Jump Scare", 17, Rarity.COMMON, mage.cards.j.JumpScare.class));
|
||||||
cards.add(new SetCardInfo("Killer's Mask", 104, Rarity.UNCOMMON, mage.cards.k.KillersMask.class));
|
cards.add(new SetCardInfo("Killer's Mask", 104, Rarity.UNCOMMON, mage.cards.k.KillersMask.class));
|
||||||
cards.add(new SetCardInfo("Kona, Rescue Beastie", 187, Rarity.RARE, mage.cards.k.KonaRescueBeastie.class));
|
cards.add(new SetCardInfo("Kona, Rescue Beastie", 187, Rarity.RARE, mage.cards.k.KonaRescueBeastie.class));
|
||||||
cards.add(new SetCardInfo("Lakeside Shack", 262, Rarity.COMMON, mage.cards.l.LakesideShack.class));
|
cards.add(new SetCardInfo("Lakeside Shack", 262, Rarity.COMMON, mage.cards.l.LakesideShack.class));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue