use of mage.abilities.common.EntersBattlefieldAbility in project mage by magefree.
the class MoritteOfTheFrostCopyApplier method apply.
@Override
public boolean apply(Game game, MageObject blueprint, Ability source, UUID copyToObjectId) {
blueprint.addSuperType(SuperType.LEGENDARY);
blueprint.addSuperType(SuperType.SNOW);
if (!isCopyOfCopy(source, blueprint, copyToObjectId) && blueprint.isCreature(game)) {
blueprint.getAbilities().add(new ChangelingAbility());
blueprint.getAbilities().add(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance(2), false)));
}
return true;
}
Aggregations