- small clarity fixes of Niv-Mizzet Reborn and Ugin, the Ineffable.

This commit is contained in:
Jeff 2019-05-06 10:38:37 -05:00
parent e77b21f4e9
commit e307f92db2
2 changed files with 10 additions and 5 deletions

View file

@ -113,9 +113,9 @@ class NivMizzetRebornEffect extends OneShotEffect {
NivMizzetRebornEffect() { NivMizzetRebornEffect() {
super(Outcome.Benefit); super(Outcome.Benefit);
staticText = "reveal the top ten cards of your library. For each color pair, " + staticText = "reveal the top ten cards of your library. For each color pair, "
"choose a card that's exactly those colors from among them. " + + "choose a card that's exactly those colors from among them. "
"Put the chosen cards into your hand and the rest on the bottom of your library in a random order."; + "Put the chosen cards into your hand and the rest on the bottom of your library in a random order.";
} }
private NivMizzetRebornEffect(final NivMizzetRebornEffect effect) { private NivMizzetRebornEffect(final NivMizzetRebornEffect effect) {
@ -153,7 +153,11 @@ class NivMizzetRebornEffect extends OneShotEffect {
} }
cards.removeAll(cards2); cards.removeAll(cards2);
player.putCardsOnBottomOfLibrary(cards, game, source, false); player.putCardsOnBottomOfLibrary(cards, game, source, false);
player.moveCards(cards2, Zone.HAND, source, game); if (player.moveCards(cards2, Zone.HAND, source, game)) {
for (Card card : cards2.getCards(game)) {
game.informPlayers(player.getName() + " chose " + card.getName() + " and put it into his or her hand.");
}
}
return true; return true;
} }
} }

View file

@ -116,7 +116,8 @@ class UginTheIneffableEffect extends OneShotEffect {
for (UUID addedTokenId : effect.getLastAddedTokenIds()) { for (UUID addedTokenId : effect.getLastAddedTokenIds()) {
// display referenced exiled face-down card on token // display referenced exiled face-down card on token
SimpleStaticAbility sa = new SimpleStaticAbility(Zone.BATTLEFIELD, new InfoEffect("Referenced object: " + card.getIdName())); SimpleStaticAbility sa = new SimpleStaticAbility(Zone.BATTLEFIELD, new InfoEffect("Referenced object: "
+ card.getId().toString().substring(0, 3)));
GainAbilityTargetEffect gainAbilityEffect = new GainAbilityTargetEffect(sa, Duration.WhileOnBattlefield); GainAbilityTargetEffect gainAbilityEffect = new GainAbilityTargetEffect(sa, Duration.WhileOnBattlefield);
gainAbilityEffect.setTargetPointer(new FixedTarget(addedTokenId)); gainAbilityEffect.setTargetPointer(new FixedTarget(addedTokenId));
game.addEffect(gainAbilityEffect, source); game.addEffect(gainAbilityEffect, source);