mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
fixed Sword-Point Diplomacy
This commit is contained in:
parent
46f3fb0023
commit
e401bebb4e
1 changed files with 3 additions and 3 deletions
|
@ -72,7 +72,7 @@ class SwordPointDiplomacyEffect extends OneShotEffect {
|
|||
|
||||
SwordPointDiplomacyEffect() {
|
||||
super(Outcome.Benefit);
|
||||
this.staticText = "";
|
||||
this.staticText = "Reveal the top three cards of your library. For each of those cards, put that card into your hand unless any opponent pays 3 life. Then exile the rest.";
|
||||
}
|
||||
|
||||
SwordPointDiplomacyEffect(final SwordPointDiplomacyEffect effect) {
|
||||
|
@ -102,10 +102,10 @@ class SwordPointDiplomacyEffect extends OneShotEffect {
|
|||
Cost cost = new PayLifeCost(3);
|
||||
for (UUID oppId : game.getOpponents(controller.getId())) {
|
||||
Player opponent = game.getPlayer(oppId);
|
||||
if (!(opponent != null
|
||||
if (opponent != null
|
||||
&& cost.canPay(source, source.getSourceId(), opponent.getId(), game)
|
||||
&& opponent.chooseUse(Outcome.Neutral, "Pay 3 life to prevent " + controller.getLogName() + " from getting " + card.getLogName() + "?", source, game)
|
||||
&& cost.pay(source, game, source.getSourceId(), opponent.getId(), true))) {
|
||||
&& cost.pay(source, game, source.getSourceId(), opponent.getId(), true)) {
|
||||
keepIt = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue