mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Akroan Horse - Fixed color and removed haste ability of the created token.
This commit is contained in:
parent
d8f90c6908
commit
56f06c6a28
1 changed files with 15 additions and 1 deletions
|
@ -29,6 +29,7 @@ package mage.sets.theros;
|
|||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.common.BeginningOfUpkeepTriggeredAbility;
|
||||
|
@ -173,9 +174,22 @@ class AkroanHorseCreateTokenEffect extends OneShotEffect<AkroanHorseCreateTokenE
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
for (UUID opponentId: game.getOpponents(source.getControllerId())) {
|
||||
Token token = new SoldierToken();
|
||||
Token token = new AkroanHorseSoldierToken();
|
||||
token.putOntoBattlefield(1, game, source.getSourceId(), opponentId);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
class AkroanHorseSoldierToken extends Token {
|
||||
|
||||
public AkroanHorseSoldierToken() {
|
||||
super("Soldier", "1/1 white Soldier creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.WHITE;
|
||||
subtype.add("Soldier");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue