use of mage.game.permanent.token.SoldierVigilanceToken in project mage by magefree.
the class FinaleOfGloryEffect method apply.
@Override
public boolean apply(Game game, Ability source) {
int xValue = source.getManaCostsToPay().getX();
if (xValue == 0) {
return false;
}
new CreateTokenEffect(new SoldierVigilanceToken(), xValue).apply(game, source);
if (xValue >= 10) {
new CreateTokenEffect(new AngelVigilanceToken(), xValue).apply(game, source);
}
return true;
}
Aggregations