mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
fixed a few issues with Ashiok, Nightmare Muse
This commit is contained in:
parent
0bd2a5c270
commit
2dda209252
1 changed files with 3 additions and 5 deletions
|
@ -22,8 +22,6 @@ import mage.target.common.TargetNonlandPermanent;
|
|||
import java.util.Objects;
|
||||
import java.util.UUID;
|
||||
|
||||
import static mage.constants.Outcome.Benefit;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
|
@ -61,7 +59,7 @@ public final class AshiokNightmareMuse extends CardImpl {
|
|||
class AshiokNightmareMuseBounceEffect extends OneShotEffect {
|
||||
|
||||
AshiokNightmareMuseBounceEffect() {
|
||||
super(Benefit);
|
||||
super(Outcome.Discard);
|
||||
staticText = "return target nonland permanent to its owner's hand, " +
|
||||
"then that player exiles a card from their hand";
|
||||
}
|
||||
|
@ -78,7 +76,7 @@ class AshiokNightmareMuseBounceEffect extends OneShotEffect {
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Permanent permanent = game.getPermanent(source.getFirstTarget());
|
||||
Player player = game.getPlayer(game.getControllerId(source.getFirstTarget()));
|
||||
Player player = game.getPlayer(game.getOwnerId(source.getFirstTarget()));
|
||||
if (permanent == null || player == null) {
|
||||
return false;
|
||||
}
|
||||
|
@ -103,7 +101,7 @@ class AshiokNightmareMuseCastEffect extends OneShotEffect {
|
|||
}
|
||||
|
||||
AshiokNightmareMuseCastEffect() {
|
||||
super(Benefit);
|
||||
super(Outcome.Discard);
|
||||
staticText = "You may cast up to three face-up cards your opponents own from exile without paying their mana costs.";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue