mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
minor token constructor cleanup (#14324)
Declare a zero-param token constructor where missing, and use it where extra args are needlessly passed in
This commit is contained in:
parent
162edb9351
commit
1208785d78
3 changed files with 8 additions and 4 deletions
|
|
@ -40,7 +40,7 @@ public final class AinokStrikeLeader extends CardImpl {
|
|||
|
||||
public AinokStrikeLeader(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}");
|
||||
|
||||
|
||||
this.subtype.add(SubType.DOG);
|
||||
this.subtype.add(SubType.WARRIOR);
|
||||
this.power = new MageInt(2);
|
||||
|
|
@ -103,8 +103,8 @@ class AinokStrikeLeaderEffect extends OneShotEffect {
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
for (UUID playerId : game.getOpponents(source.getControllerId())) {
|
||||
new GoblinToken(false).putOntoBattlefield(1, game, source, source.getControllerId(), true, true, playerId);
|
||||
new GoblinToken().putOntoBattlefield(1, game, source, source.getControllerId(), true, true, playerId);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ public final class NerivCracklingVanguard extends CardImpl {
|
|||
this.addAbility(DeathtouchAbility.getInstance());
|
||||
|
||||
// When Neriv enters, create two 1/1 red Goblin creature tokens.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new GoblinToken(false), 2)));
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new GoblinToken(), 2)));
|
||||
|
||||
// Whenever Neriv attacks, exile a number of cards from the top of your library equal to the number of differently named tokens you control. During any turn you attacked with a commander, you may play those cards.
|
||||
this.addAbility(new AttacksTriggeredAbility(new NerivCracklingVanguardEffect()).addHint(NerivCracklingVanguardEffect.getHint()));
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@ import mage.constants.SubType;
|
|||
|
||||
public class NalaarAetherjetToken extends TokenImpl{
|
||||
|
||||
public NalaarAetherjetToken() {
|
||||
this(0);
|
||||
}
|
||||
|
||||
public NalaarAetherjetToken(int xValue) {
|
||||
super("Nalaar Aetherjet", "X/X colorless Vehicle artifact token named Nalaar Aetherjet with flying and crew 2");
|
||||
cardType.add(CardType.ARTIFACT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue