foul-magics/Mage/src/main/java/mage/game/permanent/token/WrennAndSevenTreefolkToken.java
Evan Kranzler 9e0ea945ca
Refactoring token names to reflect new rule (ready for review) (#8446)
* updated Riptide Replicator and Volrath's Laboratory

* refactored token names

* some test fixes

* more test fixes

* even more test fixes

* the final test fixes

* fixed a few missed tokens

* merge fix

* fixed a test failure

* fixed test failure

* updated ignored verify test

* fixed token images not appearing

* updated tests
2022-03-14 22:37:21 -04:00

42 lines
1.5 KiB
Java

package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.dynamicvalue.common.LandsYouControlCount;
import mage.abilities.effects.common.continuous.SetPowerToughnessSourceEffect;
import mage.abilities.keyword.ReachAbility;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.constants.Zone;
import java.util.Arrays;
/**
* @author TheElk801
*/
public final class WrennAndSevenTreefolkToken extends TokenImpl {
public WrennAndSevenTreefolkToken() {
super("Treefolk Token", "green Treefolk creature token with reach and \"This creature's power and toughness are each equal to the number of lands you control.\"");
cardType.add(CardType.CREATURE);
color.setGreen(true);
subtype.add(SubType.TREEFOLK);
power = new MageInt(0);
toughness = new MageInt(0);
this.addAbility(ReachAbility.getInstance());
this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(
LandsYouControlCount.instance, Duration.EndOfGame
).setText("this creature's power and toughness are each equal to the number of lands you control")));
availableImageSetCodes.addAll(Arrays.asList("MID"));
}
public WrennAndSevenTreefolkToken(final WrennAndSevenTreefolkToken token) {
super(token);
}
public WrennAndSevenTreefolkToken copy() {
return new WrennAndSevenTreefolkToken(this);
}
}