Refactor/rename BeastToken4 to Beast22Token to fit naming convention

This commit is contained in:
Muz Ali 2026-01-25 19:16:24 -06:00
parent 15cd693acb
commit 3b3cee9b3d
2 changed files with 7 additions and 8 deletions

View file

@ -13,7 +13,7 @@ import mage.constants.SubType;
import mage.filter.FilterOpponent;
import mage.filter.StaticFilters;
import mage.game.Game;
import mage.game.permanent.token.BeastToken4;
import mage.game.permanent.token.Beast22Token;
import mage.target.TargetPlayer;
import java.util.Set;
@ -33,7 +33,7 @@ public final class KeeperOfTheBeasts extends CardImpl {
this.toughness = new MageInt(2);
// {G}, {T}: Choose target opponent who controlled more creatures than you did as you activated this ability. Put a 2/2 green Beast creature token onto the battlefield.
Ability ability = new SimpleActivatedAbility(new CreateTokenEffect(new BeastToken4()).setText("Choose target opponent who controlled more creatures than you did as you activated this ability. Create a 2/2 green Beast creature token."),
Ability ability = new SimpleActivatedAbility(new CreateTokenEffect(new Beast22Token()).setText("Choose target opponent who controlled more creatures than you did as you activated this ability. Create a 2/2 green Beast creature token."),
new ManaCostsImpl<>("{G}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new KeeperOfTheBeastsTarget());
@ -73,4 +73,3 @@ class KeeperOfTheBeastsTarget extends TargetPlayer {
return new KeeperOfTheBeastsTarget(this);
}
}

View file

@ -8,9 +8,9 @@ import mage.constants.SubType;
/**
* @author BetaSteward_at_googlemail.com
*/
public final class BeastToken4 extends TokenImpl {
public final class Beast22Token extends TokenImpl {
public BeastToken4() {
public Beast22Token() {
super("Beast Token", "2/2 green Beast creature token");
cardType.add(CardType.CREATURE);
color.setGreen(true);
@ -20,12 +20,12 @@ public final class BeastToken4 extends TokenImpl {
}
protected BeastToken4(final BeastToken4 token) {
protected Beast22Token(final Beast22Token token) {
super(token);
}
@Override
public BeastToken4 copy() {
return new BeastToken4(this);
public Beast22Token copy() {
return new Beast22Token(this);
}
}