From 6fbec78835bdc8264ce0a03e8c3ac5dd702a3743 Mon Sep 17 00:00:00 2001 From: jeffwadsworth Date: Fri, 6 Aug 2021 16:49:39 -0500 Subject: [PATCH] - Fixed #8107 --- Mage.Sets/src/mage/cards/t/TergridGodOfFright.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/t/TergridGodOfFright.java b/Mage.Sets/src/mage/cards/t/TergridGodOfFright.java index 7b8e7c9a99..5df3631c0c 100644 --- a/Mage.Sets/src/mage/cards/t/TergridGodOfFright.java +++ b/Mage.Sets/src/mage/cards/t/TergridGodOfFright.java @@ -106,8 +106,9 @@ class TergridGodOfFrightTriggeredAbility extends TriggeredAbilityImpl { if (!game.getOpponents(getControllerId()).contains(event.getPlayerId())) { return false; } + // it must be in the graveyard IE: Rest in Peace effect switch (event.getType()) { - case SACRIFICE_PERMANENT: + case SACRIFICED_PERMANENT: Permanent permanent = game.getPermanentOrLKIBattlefield(event.getTargetId()); if (permanent == null || permanent instanceof PermanentToken @@ -117,7 +118,9 @@ class TergridGodOfFrightTriggeredAbility extends TriggeredAbilityImpl { break; case DISCARDED_CARD: Card discardedCard = game.getCard(event.getTargetId()); - if (discardedCard == null || !discardedCard.isPermanent(game)) { + if (discardedCard == null + || !discardedCard.isPermanent(game) + || game.getState().getZone(discardedCard.getId()) != Zone.GRAVEYARD) { return false; } break;