- fixed some durations on Rogue Class.

This commit is contained in:
Jeff Wadsworth 2022-06-15 15:12:33 -05:00
parent 80ff899529
commit fdcc4e4458

View file

@ -147,14 +147,15 @@ class RogueClassLookEffect extends AsThoughEffectImpl {
return false; return false;
} }
return source.isControlledBy(affectedControllerId) return source.isControlledBy(affectedControllerId)
&& cardId.equals(objectId); && cardId.equals(objectId)
&& game.getState().getZone(cardId) == Zone.EXILED;
} }
} }
class RogueClassPlayEffect extends AsThoughEffectImpl { class RogueClassPlayEffect extends AsThoughEffectImpl {
RogueClassPlayEffect() { RogueClassPlayEffect() {
super(AsThoughEffectType.PLAY_FROM_NOT_OWN_HAND_ZONE, Duration.EndOfGame, Outcome.Benefit); super(AsThoughEffectType.PLAY_FROM_NOT_OWN_HAND_ZONE, Duration.WhileOnBattlefield, Outcome.Benefit);
staticText = "you may play cards exiled with {this}"; staticText = "you may play cards exiled with {this}";
} }
@ -195,7 +196,7 @@ class RogueClassPlayEffect extends AsThoughEffectImpl {
class RogueClassManaEffect extends AsThoughEffectImpl implements AsThoughManaEffect { class RogueClassManaEffect extends AsThoughEffectImpl implements AsThoughManaEffect {
RogueClassManaEffect() { RogueClassManaEffect() {
super(AsThoughEffectType.SPEND_OTHER_MANA, Duration.EndOfGame, Outcome.Benefit); super(AsThoughEffectType.SPEND_OTHER_MANA, Duration.WhileOnBattlefield, Outcome.Benefit);
this.staticText = ", and you may spend mana as though it were mana of any color to cast those spells"; this.staticText = ", and you may spend mana as though it were mana of any color to cast those spells";
} }