mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 12:19:59 -08:00
Improve Nicol Bolas, God-Pharaoh UX by exiling playable card to unique zone which auto cleans up at end of turn
Playable card previously went to generic exile zone and was difficult to identify
This commit is contained in:
parent
9ed0a368c0
commit
83bbe99161
1 changed files with 3 additions and 5 deletions
|
|
@ -2,7 +2,6 @@ package mage.cards.n;
|
|||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.LoyaltyAbility;
|
||||
import mage.abilities.effects.ContinuousEffect;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.effects.common.ExileAllEffect;
|
||||
|
|
@ -21,7 +20,6 @@ import mage.target.Target;
|
|||
import mage.target.common.TargetCardInHand;
|
||||
import mage.target.common.TargetOpponent;
|
||||
import mage.target.common.TargetPermanentOrPlayer;
|
||||
import mage.target.targetpointer.FixedTarget;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
|
@ -170,9 +168,9 @@ class NicolBolasGodPharaohPlusTwoEffect extends OneShotEffect {
|
|||
if (card.isLand(game)) {
|
||||
continue;
|
||||
}
|
||||
ContinuousEffect effect = new PlayFromNotOwnHandZoneTargetEffect(Zone.EXILED, TargetController.YOU, Duration.EndOfTurn, true);
|
||||
effect.setTargetPointer(new FixedTarget(card, game));
|
||||
game.addEffect(effect, source);
|
||||
PlayFromNotOwnHandZoneTargetEffect.exileAndPlayFromExile(
|
||||
game, source, card, TargetController.YOU, Duration.EndOfTurn, true, false, true
|
||||
);
|
||||
break;
|
||||
} while (library.hasCards());
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue