forked from External/mage
[BLB] Implement Savor
This commit is contained in:
parent
80efe3bae1
commit
28bdb7febd
2 changed files with 36 additions and 0 deletions
35
Mage.Sets/src/mage/cards/s/Savor.java
Normal file
35
Mage.Sets/src/mage/cards/s/Savor.java
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.permanent.token.FoodToken;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class Savor extends CardImpl {
|
||||
|
||||
public Savor(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{B}");
|
||||
|
||||
// Target creature gets -2/-2 until end of turn. Create a Food token.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(-2, -2));
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new FoodToken()));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
}
|
||||
|
||||
private Savor(final Savor card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Savor copy() {
|
||||
return new Savor(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -158,6 +158,7 @@ public final class Bloomburrow extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Run Away Together", 67, Rarity.COMMON, mage.cards.r.RunAwayTogether.class));
|
||||
cards.add(new SetCardInfo("Rust-Shield Rampager", 190, Rarity.COMMON, mage.cards.r.RustShieldRampager.class));
|
||||
cards.add(new SetCardInfo("Salvation Swan", 28, Rarity.RARE, mage.cards.s.SalvationSwan.class));
|
||||
cards.add(new SetCardInfo("Savor", 109, Rarity.COMMON, mage.cards.s.Savor.class));
|
||||
cards.add(new SetCardInfo("Scales of Shale", 110, Rarity.COMMON, mage.cards.s.ScalesOfShale.class));
|
||||
cards.add(new SetCardInfo("Scavenger's Talent", 111, Rarity.RARE, mage.cards.s.ScavengersTalent.class));
|
||||
cards.add(new SetCardInfo("Seasoned Warrenguard", 30, Rarity.UNCOMMON, mage.cards.s.SeasonedWarrenguard.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue