mirror of
https://github.com/correl/mage.git
synced 2025-04-11 09:11:12 -09:00
* Muldrotha, the Gravetide - Fixed that you could wrongly cast from other graveyards and also not only during your turns.
This commit is contained in:
parent
88b3efe759
commit
d2075a8f66
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ class MuldrothaTheGravetideCastFromGraveyardEffect extends AsThoughEffectImpl {
|
|||
@Override
|
||||
public boolean applies(UUID objectId, Ability source, UUID affectedControllerId, Game game) {
|
||||
if (source.getControllerId().equals(affectedControllerId)
|
||||
&& source.getControllerId().equals(game.getOwnerId(objectId)) // only from your graveyard
|
||||
&& affectedControllerId.equals(game.getActivePlayerId()) // only during your turns (e.g. prevent flash creatures)
|
||||
&& Zone.GRAVEYARD.equals(game.getState().getZone(objectId))) {
|
||||
MuldrothaTheGravetideWatcher watcher = (MuldrothaTheGravetideWatcher) game.getState().getWatchers().get(MuldrothaTheGravetideWatcher.class.getSimpleName());
|
||||
|
|
Loading…
Add table
Reference in a new issue