mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 04:09:54 -08:00
[ECL] Implement Sting-Slinger
This commit is contained in:
parent
3d7e7fc500
commit
45b897d6ef
2 changed files with 49 additions and 0 deletions
48
Mage.Sets/src/mage/cards/s/StingSlinger.java
Normal file
48
Mage.Sets/src/mage/cards/s/StingSlinger.java
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.BlightCost;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.DamagePlayersEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.TargetController;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class StingSlinger extends CardImpl {
|
||||
|
||||
public StingSlinger(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
|
||||
|
||||
this.subtype.add(SubType.GOBLIN);
|
||||
this.subtype.add(SubType.WARRIOR);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// {1}{R}, {T}, Blight 1: This creature deals 2 damage to each opponent.
|
||||
Ability ability = new SimpleActivatedAbility(
|
||||
new DamagePlayersEffect(2, TargetController.OPPONENT), new ManaCostsImpl<>("{1}{R}")
|
||||
);
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addCost(new BlightCost(1));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private StingSlinger(final StingSlinger card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StingSlinger copy() {
|
||||
return new StingSlinger(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -258,6 +258,7 @@ public final class LorwynEclipsed extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Steam Vents", "348b", Rarity.RARE, mage.cards.s.SteamVents.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Steam Vents", 267, Rarity.RARE, mage.cards.s.SteamVents.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Steam Vents", 348, Rarity.RARE, mage.cards.s.SteamVents.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Sting-Slinger", 161, Rarity.UNCOMMON, mage.cards.s.StingSlinger.class));
|
||||
cards.add(new SetCardInfo("Stratosoarer", 72, Rarity.COMMON, mage.cards.s.Stratosoarer.class));
|
||||
cards.add(new SetCardInfo("Summit Sentinel", 73, Rarity.COMMON, mage.cards.s.SummitSentinel.class));
|
||||
cards.add(new SetCardInfo("Sun-Dappled Celebrant", 37, Rarity.COMMON, mage.cards.s.SunDappledCelebrant.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue