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

- Lurrus of the Dream-Den will now only allow casting of cards from the controller's graveyard during the controller's turn.

This commit is contained in:
Jeff 2021-02-14 21:24:49 -06:00
parent da03e7c50b
commit eb242443fc

View file

@ -100,7 +100,8 @@ class LurrusOfTheDreamDenCastFromGraveyardEffect extends AsThoughEffectImpl {
@Override
public boolean applies(UUID objectId, Ability source, UUID affectedControllerId, Game game) {
if (source.isControlledBy(affectedControllerId)
&& Zone.GRAVEYARD.equals(game.getState().getZone(objectId))) {
&& Zone.GRAVEYARD.equals(game.getState().getZone(objectId))
&& game.isActivePlayer(source.getControllerId())) { // only during your turn
Card objectCard = game.getCard(objectId);
Permanent sourceObject = game.getPermanent(source.getSourceId());
if (sourceObject != null && objectCard != null