[DFT] Implement Rangers' Aetherhive

This commit is contained in:
theelk801 2025-01-31 14:04:19 -05:00
parent 462a4a0b2d
commit 6670ceb2ae
5 changed files with 80 additions and 26 deletions

View file

@ -0,0 +1,18 @@
package mage.filter.predicate.other;
import mage.abilities.keyword.ExhaustAbility;
import mage.filter.predicate.Predicate;
import mage.game.Game;
import mage.game.stack.StackObject;
/**
* @author TheElk801
*/
public enum ExhaustAbilityPredicate implements Predicate<StackObject> {
instance;
@Override
public boolean apply(StackObject input, Game game) {
return input.getStackAbility() instanceof ExhaustAbility;
}
}