This commit is contained in:
Alex W. Jackson 2022-01-27 07:59:06 -05:00
parent 5bb7947d75
commit b563853ec8
2 changed files with 8 additions and 2 deletions

View file

@ -80,8 +80,11 @@ class CabalInterrogatorEffect extends OneShotEffect {
int amountToReveal = (ManacostVariableValue.REGULAR).calculate(game, source, this);
if (amountToReveal < 1) {
return true;
}
Cards revealedCards = new CardsImpl();
if (amountToReveal > 0 && targetPlayer.getHand().size() > amountToReveal) {
if (targetPlayer.getHand().size() > amountToReveal) {
Cards cardsInHand = new CardsImpl();
cardsInHand.addAll(targetPlayer.getHand());

View file

@ -84,9 +84,12 @@ class ThievingSpriteEffect extends OneShotEffect {
FilterControlledPermanent filter = new FilterControlledPermanent();
filter.add(SubType.FAERIE.getPredicate());
int numberOfFaeries = game.getBattlefield().countAll(filter, controller.getId(), game);
if (numberOfFaeries < 1) {
return true;
}
Cards revealedCards = new CardsImpl();
if (numberOfFaeries > 0 && targetPlayer.getHand().size() > numberOfFaeries) {
if (targetPlayer.getHand().size() > numberOfFaeries) {
Cards cardsInHand = new CardsImpl();
cardsInHand.addAll(targetPlayer.getHand());