mirror of
https://github.com/correl/mage.git
synced 2025-01-13 11:01:58 +00:00
Fix #8601
This commit is contained in:
parent
5bb7947d75
commit
b563853ec8
2 changed files with 8 additions and 2 deletions
|
@ -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());
|
||||
|
||||
|
|
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in a new issue