use of mage.abilities.common.PutCardIntoGraveFromAnywhereAllTriggeredAbility in project mage by magefree.
the class LazavDimirMastermindCopyApplier method apply.
@Override
public boolean apply(Game game, MageObject blueprint, Ability source, UUID copyToObjectId) {
Ability ability = new PutCardIntoGraveFromAnywhereAllTriggeredAbility(new LazavDimirMastermindEffect(), true, new FilterCreatureCard("a creature card"), TargetController.OPPONENT, SetTargetPointer.CARD);
blueprint.getAbilities().add(ability);
blueprint.setName("Lazav, Dimir Mastermind");
blueprint.addSuperType(SuperType.LEGENDARY);
blueprint.getAbilities().add(HexproofAbility.getInstance());
return true;
}
Aggregations