mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[CMR] fixed Gnostro, Voice of the Crags not scrying (fixes #7167)
This commit is contained in:
parent
ec48841993
commit
64c6333bce
1 changed files with 8 additions and 1 deletions
|
@ -17,6 +17,7 @@ import mage.constants.Outcome;
|
|||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.game.Game;
|
||||
import mage.players.Player;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
import mage.watchers.common.CastSpellLastTurnWatcher;
|
||||
|
||||
|
@ -99,6 +100,12 @@ class GnostroVoiceOfTheCragsEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
return true;
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
if (player == null) {
|
||||
return false;
|
||||
}
|
||||
return player != null && player.scry(
|
||||
GnostroVoiceOfTheCragsValue.instance.calculate(game, source, this), source, game
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue