From cb3f0b2a5153ca97d03e58d7f4879a9e67f67044 Mon Sep 17 00:00:00 2001 From: Jeff Date: Thu, 20 Apr 2017 08:44:49 -0500 Subject: [PATCH] - Fixed Cruel Reality and Sigarda, Host of Herons interaction. --- Mage.Sets/src/mage/cards/c/CruelReality.java | 1 + Mage.Sets/src/mage/cards/s/SigardaHostOfHerons.java | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/c/CruelReality.java b/Mage.Sets/src/mage/cards/c/CruelReality.java index 66be70bbb4..1a323fc699 100644 --- a/Mage.Sets/src/mage/cards/c/CruelReality.java +++ b/Mage.Sets/src/mage/cards/c/CruelReality.java @@ -161,6 +161,7 @@ class CruelRealityEffect extends OneShotEffect { } } cursedPlayer.loseLife(5, game, false); + return true; } return false; } diff --git a/Mage.Sets/src/mage/cards/s/SigardaHostOfHerons.java b/Mage.Sets/src/mage/cards/s/SigardaHostOfHerons.java index 441e6cec3e..0acbbc4a77 100644 --- a/Mage.Sets/src/mage/cards/s/SigardaHostOfHerons.java +++ b/Mage.Sets/src/mage/cards/s/SigardaHostOfHerons.java @@ -44,6 +44,7 @@ import mage.game.permanent.PermanentCard; import mage.game.stack.Spell; import java.util.UUID; +import mage.game.stack.StackAbility; /** * @author noxx @@ -51,7 +52,7 @@ import java.util.UUID; public class SigardaHostOfHerons extends CardImpl { public SigardaHostOfHerons(UUID ownerId, CardSetInfo setInfo) { - super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{G}{W}{W}"); + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}{W}{W}"); addSuperType(SuperType.LEGENDARY); this.subtype.add("Angel"); @@ -115,6 +116,11 @@ class SigardaHostOfHeronsEffect extends ContinuousRuleModifyingEffectImpl { return true; } } + if (object instanceof StackAbility) { + if (game.getOpponents(source.getControllerId()).contains(((StackAbility) object).getControllerId())) { + return true; + } + } } return false; }