forked from External/mage
45 lines
1.4 KiB
Java
45 lines
1.4 KiB
Java
|
|
package mage.cards.s;
|
|
|
|
import java.util.UUID;
|
|
import mage.MageInt;
|
|
import mage.abilities.Ability;
|
|
import mage.abilities.common.SimpleActivatedAbility;
|
|
import mage.abilities.costs.common.SacrificeTargetCost;
|
|
import mage.abilities.costs.mana.ColoredManaCost;
|
|
import mage.abilities.effects.common.GainLifeEffect;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.ColoredManaSymbol;
|
|
import mage.constants.SubType;
|
|
import mage.constants.Zone;
|
|
import static mage.filter.StaticFilters.FILTER_CONTROLLED_CREATURE_SHORT_TEXT;
|
|
import mage.target.common.TargetControlledCreaturePermanent;
|
|
|
|
/**
|
|
*
|
|
* @author Loki
|
|
*/
|
|
public final class StarvedRusalka extends CardImpl {
|
|
|
|
public StarvedRusalka(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{G}");
|
|
this.subtype.add(SubType.SPIRIT);
|
|
|
|
this.power = new MageInt(1);
|
|
this.toughness = new MageInt(1);
|
|
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(1), new ColoredManaCost(ColoredManaSymbol.G));
|
|
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(FILTER_CONTROLLED_CREATURE_SHORT_TEXT)));
|
|
this.addAbility(ability);
|
|
}
|
|
|
|
public StarvedRusalka(final StarvedRusalka card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public StarvedRusalka copy() {
|
|
return new StarvedRusalka(this);
|
|
}
|
|
}
|