Search in sources :

Example 1 with BaruFistOfKrosaToken

use of mage.game.permanent.token.BaruFistOfKrosaToken in project mage by magefree.

the class BaruFistOfKrosaEffect method apply.

@Override
public boolean apply(Game game, Ability source) {
    int xValue = game.getBattlefield().countAll(filter, source.getControllerId(), game);
    Token token = new BaruFistOfKrosaToken(xValue);
    token.putOntoBattlefield(1, game, source, source.getControllerId());
    return true;
}
Also used : Token(mage.game.permanent.token.Token) BaruFistOfKrosaToken(mage.game.permanent.token.BaruFistOfKrosaToken) BaruFistOfKrosaToken(mage.game.permanent.token.BaruFistOfKrosaToken)

Aggregations

BaruFistOfKrosaToken (mage.game.permanent.token.BaruFistOfKrosaToken)1 Token (mage.game.permanent.token.Token)1