From c7016c7e22357225d567a37334476c2e861df0d3 Mon Sep 17 00:00:00 2001 From: Thomas Winwood Date: Mon, 8 Apr 2019 18:54:08 +0100 Subject: [PATCH] Add compliment to Miss Demeanour's effect --- Mage.Sets/src/mage/cards/m/MissDemeanour.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/m/MissDemeanour.java b/Mage.Sets/src/mage/cards/m/MissDemeanour.java index 87520d1095..dee0ece787 100644 --- a/Mage.Sets/src/mage/cards/m/MissDemeanour.java +++ b/Mage.Sets/src/mage/cards/m/MissDemeanour.java @@ -72,8 +72,12 @@ class MissDemeanourEffect extends OneShotEffect { public boolean apply(Game game, Ability source) { Player controller = game.getPlayer(source.getControllerId()); Permanent sourceObject = (Permanent) source.getSourceObjectIfItStillExists(game); + String activePlayerName = game.getPlayer(game.getActivePlayerId()).getName(); if (sourceObject != null) { - if (!controller.chooseUse(outcome, "Compliment " + game.getPlayer(game.getActivePlayerId()).getName() + " on their game play?", source, game)) { + if (controller.chooseUse(outcome, "Compliment " + activePlayerName + " on their game play?", source, game)) { + // TODO(Ketsuban): this could probably stand to be randomly chosen from a pool of compliments + game.informPlayers(controller.getLogName() + ": That's a well-built deck and you pilot it well, " + activePlayerName + "."); + } else { sourceObject.sacrifice(source.getSourceId(), game); } return true;