mage/Mage/src/main/java/mage/game/permanent/token/SpawnToken.java
Grath 7cd97ffd02
[40K] Implement The Lost and the Damned (#9648)
* [40K] Implement The Lost and the Damned

Heavily inspired by Faldorn, but this triggers on "anywhere but hand" instead of "exile".

* Add The Lost and the Damned to the 40k set.

* Make Spawn tokens red, rather than colorless.

* Add slightly-jank handling for lands and spells which you do not own, which cannot have been played from your hand and thus should trigger The Lost and the Damned.

* Clean up land ownership check with proper method rather than just comparison.
2022-10-14 21:39:42 -04:00

28 lines
627 B
Java

package mage.game.permanent.token;
import mage.MageInt;
import mage.constants.CardType;
import mage.constants.SubType;
/**
* @author TheElk801
*/
public final class SpawnToken extends TokenImpl {
public SpawnToken() {
super("Spawn Token", "3/3 red Spawn creature token");
cardType.add(CardType.CREATURE);
color.setRed(true);
this.subtype.add(SubType.SPAWN);
power = new MageInt(3);
toughness = new MageInt(3);
}
public SpawnToken(final SpawnToken token) {
super(token);
}
public SpawnToken copy() {
return new SpawnToken(this);
}
}