mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[AFR] Implemented Shocking Grasp
This commit is contained in:
parent
b865f088be
commit
58eb099ad5
2 changed files with 37 additions and 0 deletions
36
Mage.Sets/src/mage/cards/s/ShockingGrasp.java
Normal file
36
Mage.Sets/src/mage/cards/s/ShockingGrasp.java
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ShockingGrasp extends CardImpl {
|
||||
|
||||
public ShockingGrasp(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}");
|
||||
|
||||
// Target creature gets -2/-0 until end of turn.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(-2, 0));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
|
||||
// Draw a card.
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy("<br>"));
|
||||
}
|
||||
|
||||
private ShockingGrasp(final ShockingGrasp card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ShockingGrasp copy() {
|
||||
return new ShockingGrasp(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -105,6 +105,7 @@ public final class AdventuresInTheForgottenRealms extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Rimeshield Frost Giant", 69, Rarity.COMMON, mage.cards.r.RimeshieldFrostGiant.class));
|
||||
cards.add(new SetCardInfo("Secret Door", 71, Rarity.COMMON, mage.cards.s.SecretDoor.class));
|
||||
cards.add(new SetCardInfo("Shambling Ghast", 119, Rarity.COMMON, mage.cards.s.ShamblingGhast.class));
|
||||
cards.add(new SetCardInfo("Shocking Grasp", 72, Rarity.COMMON, mage.cards.s.ShockingGrasp.class));
|
||||
cards.add(new SetCardInfo("Shortcut Seeker", 73, Rarity.COMMON, mage.cards.s.ShortcutSeeker.class));
|
||||
cards.add(new SetCardInfo("Swamp", 270, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Swarming Goblins", 162, Rarity.COMMON, mage.cards.s.SwarmingGoblins.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue