1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-10 09:11:04 -09:00

- Fixed Cruel Reality and Sigarda, Host of Herons interaction.

This commit is contained in:
Jeff 2017-04-20 08:44:49 -05:00
parent e9d31aa93c
commit cb3f0b2a51
2 changed files with 8 additions and 1 deletions

View file

@ -161,6 +161,7 @@ class CruelRealityEffect extends OneShotEffect {
} }
} }
cursedPlayer.loseLife(5, game, false); cursedPlayer.loseLife(5, game, false);
return true;
} }
return false; return false;
} }

View file

@ -44,6 +44,7 @@ import mage.game.permanent.PermanentCard;
import mage.game.stack.Spell; import mage.game.stack.Spell;
import java.util.UUID; import java.util.UUID;
import mage.game.stack.StackAbility;
/** /**
* @author noxx * @author noxx
@ -51,7 +52,7 @@ import java.util.UUID;
public class SigardaHostOfHerons extends CardImpl { public class SigardaHostOfHerons extends CardImpl {
public SigardaHostOfHerons(UUID ownerId, CardSetInfo setInfo) { 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); addSuperType(SuperType.LEGENDARY);
this.subtype.add("Angel"); this.subtype.add("Angel");
@ -115,6 +116,11 @@ class SigardaHostOfHeronsEffect extends ContinuousRuleModifyingEffectImpl {
return true; return true;
} }
} }
if (object instanceof StackAbility) {
if (game.getOpponents(source.getControllerId()).contains(((StackAbility) object).getControllerId())) {
return true;
}
}
} }
return false; return false;
} }