foul-magics/Mage/src/main/java/mage/game/permanent/token/AssassinToken.java
2022-06-05 19:21:20 +01:00

39 lines
1.1 KiB
Java

package mage.game.permanent.token;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.MageInt;
import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
import mage.abilities.effects.common.LoseGameTargetPlayerEffect;
import java.util.Arrays;
/**
*
* @author spjspj
*/
public final class AssassinToken extends TokenImpl {
public AssassinToken() {
super("Assassin Token", "1/1 black Assassin creature tokens with \"Whenever this creature deals combat damage to a player, that player loses the game.\"");
cardType.add(CardType.CREATURE);
color.setBlack(true);
subtype.add(SubType.ASSASSIN);
power = new MageInt(1);
toughness = new MageInt(1);
addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new LoseGameTargetPlayerEffect(), false, true));
availableImageSetCodes = Arrays.asList("RTR", "DDM", "C19");
}
public AssassinToken(final AssassinToken token) {
super(token);
}
public AssassinToken copy() {
return new AssassinToken(this);
}
}