public FetchLandActivatedAbility(String[] subTypes) {
super(Zone.BATTLEFIELD, null);
addCost(new TapSourceCost());
addCost(new PayLifeCost(1));
addCost(new SacrificeSourceCost());
FilterCard filter = new FilterCard(subTypeNames(subTypes));
filter.getCardType().add(CardType.LAND);
for (String subType: subTypes) {
filter.getSubtype().add(subType);
}
filter.setScopeSubtype(ComparisonScope.Any);
TargetCardInLibrary target = new TargetCardInLibrary(filter);
addEffect(new SearchLibraryPutInPlayEffect(target, false, Outcome.PutLandInPlay));
}