forked from External/mage
41 lines
1.1 KiB
Java
41 lines
1.1 KiB
Java
|
|
package mage.cards.s;
|
|
|
|
import java.util.UUID;
|
|
import mage.MageInt;
|
|
import mage.abilities.common.SimpleActivatedAbility;
|
|
import mage.abilities.costs.mana.ManaCostsImpl;
|
|
import mage.abilities.effects.common.RegenerateSourceEffect;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
import mage.constants.Zone;
|
|
|
|
/**
|
|
*
|
|
* @author Loki
|
|
*/
|
|
public final class SelesnyaSentry extends CardImpl {
|
|
|
|
public SelesnyaSentry(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{W}");
|
|
this.subtype.add(SubType.ELEPHANT);
|
|
this.subtype.add(SubType.SOLDIER);
|
|
|
|
this.power = new MageInt(3);
|
|
this.toughness = new MageInt(2);
|
|
|
|
// {5}{G}: Regenerate Selesnya Sentry.
|
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{5}{G}")));
|
|
}
|
|
|
|
public SelesnyaSentry(final SelesnyaSentry card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public SelesnyaSentry copy() {
|
|
return new SelesnyaSentry(this);
|
|
}
|
|
}
|