use of mage.game.permanent.token.CitizenToken in project mage by magefree.
the class SarpadianEmpiresCreateSelectedTokenEffect method apply.
@Override
public boolean apply(Game game, Ability source) {
String tokenType = game.getState().getValue(source.getSourceId().toString() + "_SarpadianEmpiresVolVii").toString();
Token token;
switch(tokenType) {
case "White Citizen":
token = new CitizenToken();
break;
case "Blue Camarid":
token = new CamaridToken();
break;
case "Black Thrull":
token = new ThrullToken();
break;
case "Red Goblin":
token = new GoblinToken();
break;
default:
token = new SaprolingToken();
break;
}
token.putOntoBattlefield(1, game, source, source.getControllerId());
return true;
}
Aggregations