mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
- Fixed Cruel Reality and Sigarda, Host of Herons interaction.
This commit is contained in:
parent
e9d31aa93c
commit
cb3f0b2a51
2 changed files with 8 additions and 1 deletions
|
@ -161,6 +161,7 @@ class CruelRealityEffect extends OneShotEffect {
|
|||
}
|
||||
}
|
||||
cursedPlayer.loseLife(5, game, false);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue