1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-02 03:18:09 -09:00

Outcome fixes

This commit is contained in:
Oleg Agafonov 2020-01-05 01:06:01 +04:00
parent 2dd64cf5cd
commit 7bc00879d4
2 changed files with 4 additions and 5 deletions
Mage.Sets/src/mage/cards

View file

@ -92,7 +92,7 @@ class NyleaKeenEyedEffect extends OneShotEffect {
if (card.isCreature()) {
return player.moveCards(card, Zone.HAND, source, game);
}
if (!player.chooseUse(outcome, "Put " + card.getName() + " into your graveyard?", source, game)) {
if (!player.chooseUse(Outcome.Detriment, "Put " + card.getName() + " into your graveyard?", source, game)) {
return true;
}
return player.moveCards(card, Zone.GRAVEYARD, source, game);

View file

@ -1,7 +1,5 @@
package mage.cards.u;
import java.util.UUID;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.Cost;
@ -20,8 +18,9 @@ import mage.game.Game;
import mage.players.Player;
import mage.target.common.TargetCardInYourGraveyard;
import java.util.UUID;
/**
*
* @author TheElk801
*/
public final class UrzasTome extends CardImpl {
@ -66,7 +65,7 @@ class UrzasTomeEffect extends OneShotEffect {
Player controller = game.getPlayer(source.getControllerId());
new DrawCardSourceControllerEffect(1).apply(game, source);
if (controller != null
&& controller.chooseUse(Outcome.Discard, "Exile a historic card from your graveyard?", source, game)) {
&& controller.chooseUse(Outcome.Exile, "Exile a historic card from your graveyard?", source, game)) {
Cost cost = new ExileFromGraveCost(new TargetCardInYourGraveyard(new FilterHistoricCard()));
if (cost.canPay(source, source.getSourceId(), controller.getId(), game)) {
if (cost.pay(source, game, source.getSourceId(), controller.getId(), false, null)) {