* Eternal Scourge - Fixed that also non card owner could cast from exile if controlled from other player before going to exile.

This commit is contained in:
LevelX2 2017-01-22 22:12:45 +01:00
parent fdd28cde4b
commit dad1a10eec
2 changed files with 4 additions and 3 deletions

View file

@ -101,13 +101,14 @@ class EternalScourgePlayEffect extends AsThoughEffectImpl {
public boolean applies(UUID sourceId, Ability source, UUID affectedControllerId, Game game) { public boolean applies(UUID sourceId, Ability source, UUID affectedControllerId, Game game) {
if (sourceId.equals(source.getSourceId())) { if (sourceId.equals(source.getSourceId())) {
Card card = game.getCard(source.getSourceId()); Card card = game.getCard(source.getSourceId());
if (card != null && card.getOwnerId().equals(source.getControllerId()) && game.getState().getZone(source.getSourceId()) == Zone.EXILED) { if (card != null && card.getOwnerId().equals(affectedControllerId) && game.getState().getZone(source.getSourceId()) == Zone.EXILED) {
return true; return true;
} }
} }
return false; return false;
} }
} }
class EternalScourgeAbility extends TriggeredAbilityImpl { class EternalScourgeAbility extends TriggeredAbilityImpl {
public EternalScourgeAbility() { public EternalScourgeAbility() {

View file

@ -71,7 +71,7 @@ class FatalPushEffect extends OneShotEffect {
FatalPushEffect() { FatalPushEffect() {
super(Outcome.DestroyPermanent); super(Outcome.DestroyPermanent);
this.staticText = "Destroy target creature if it has converted mana cost 2 or less.<br><i>Revolt</i> &mdash; Destroy that creature if it has converted mana cost 4 or less instead if a permanent you controlled left the battlefield this turn."; this.staticText = "Destroy target creature if it has converted mana cost 2 or less.<br><i>Revolt</i> &mdash; Destroy that creature if it has converted mana cost 4 or less instead if a permanent you controlled left the battlefield this turn";
} }
FatalPushEffect(final FatalPushEffect effect) { FatalPushEffect(final FatalPushEffect effect) {