[MIR] implemented Basalt Golem (#10285)

* added MIR Basalt Golem + Wall Token

* fixed card number, effect text, possible NPE
simplified effect code
This commit is contained in:
Paul Davies 2023-04-29 13:40:11 +01:00 committed by GitHub
parent 62b1eeb4ed
commit 70cf2158a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 121 additions and 1 deletions

View file

@ -0,0 +1,31 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.keyword.DefenderAbility;
import mage.constants.CardType;
import mage.constants.SubType;
/**
*
* @author lagdotcom
*/
public final class WallToken extends TokenImpl {
public WallToken() {
super("Wall Token", "0/2 colorless Wall artifact creature token with defender");
cardType.add(CardType.ARTIFACT);
cardType.add(CardType.CREATURE);
subtype.add(SubType.WALL);
power = new MageInt(0);
toughness = new MageInt(2);
addAbility(DefenderAbility.getInstance());
}
public WallToken(final WallToken token) {
super(token);
}
public WallToken copy() {
return new WallToken(this);
}
}