forked from External/mage
40 lines
1.3 KiB
Java
40 lines
1.3 KiB
Java
|
|
|
|
package mage.game.permanent.token;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
import mage.MageInt;
|
|
import mage.abilities.common.BeginningOfEndStepTriggeredAbility;
|
|
import mage.abilities.effects.common.SacrificeSourceEffect;
|
|
import mage.abilities.keyword.HasteAbility;
|
|
import mage.abilities.keyword.TrampleAbility;
|
|
import mage.constants.TargetController;
|
|
|
|
/**
|
|
*
|
|
* @author spjspj
|
|
*/
|
|
public final class LightningRagerToken extends TokenImpl {
|
|
|
|
public LightningRagerToken() {
|
|
super("Lightning Rager", "5/1 red Elemental creature token named Lightning Rager."
|
|
+ "It has trample, haste, and \"At the beginning of the end step, sacrifice this creature.\"");
|
|
this.setOriginalExpansionSetCode("C15");
|
|
cardType.add(CardType.CREATURE);
|
|
color.setRed(true);
|
|
subtype.add(SubType.ELEMENTAL);
|
|
power = new MageInt(5);
|
|
toughness = new MageInt(1);
|
|
addAbility(TrampleAbility.getInstance());
|
|
addAbility(HasteAbility.getInstance());
|
|
this.addAbility(new BeginningOfEndStepTriggeredAbility(new SacrificeSourceEffect(), TargetController.NEXT, false));
|
|
}
|
|
|
|
public LightningRagerToken(final LightningRagerToken token) {
|
|
super(token);
|
|
}
|
|
|
|
public LightningRagerToken copy() {
|
|
return new LightningRagerToken(this);
|
|
}
|
|
}
|