mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
* [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.
28 lines
627 B
Java
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);
|
|
}
|
|
}
|