mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
PlayEffect: avoid confirmAction
This commit is contained in:
@@ -103,7 +103,7 @@ public class HumanPlaySpellAbility {
|
||||
}
|
||||
|
||||
final boolean playerManaConversion = human.hasManaConversion()
|
||||
&& human.getController().confirmAction(ability, null, "Do you want to spend mana as though it were mana of any color to pay the cost?", null);
|
||||
&& human.getController().confirmAction(ability, null, "Do you want to spend mana as though it were mana of any color to pay the cost?");
|
||||
|
||||
Cost abCost = ability.getPayCosts();
|
||||
CostPayment payment = new CostPayment(abCost, ability);
|
||||
|
||||
@@ -675,7 +675,7 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
||||
* SpellAbility, java.lang.String, java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public boolean confirmAction(final SpellAbility sa, final PlayerActionConfirmMode mode, final String message, Map<String, Object> params) {
|
||||
public boolean confirmAction(final SpellAbility sa, final PlayerActionConfirmMode mode, final String message) {
|
||||
if (sa != null && sa.getHostCard() != null && sa.hasParam("ShowCardInPrompt")) {
|
||||
// The card wants another thing displayed in the prompt on mouse over rather than itself
|
||||
Card show = null;
|
||||
|
||||
Reference in New Issue
Block a user