mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Better prompt messages for confirming optional triggers
This commit is contained in:
@@ -122,7 +122,7 @@ public abstract class PlayerController {
|
||||
public abstract boolean confirmAction(SpellAbility sa, PlayerActionConfirmMode mode, String message);
|
||||
public abstract boolean confirmBidAction(SpellAbility sa, PlayerActionConfirmMode bidlife, String string, int bid, Player winner);
|
||||
public abstract boolean confirmStaticApplication(Card hostCard, GameEntity affected, String logic, String message);
|
||||
public abstract boolean confirmTrigger(SpellAbility sa, Trigger regtrig, Map<String, String> triggerParams, boolean isMandatory);
|
||||
public abstract boolean confirmTrigger(WrappedAbility sa, Map<String, String> triggerParams, boolean isMandatory);
|
||||
public abstract Player chooseStartingPlayer(boolean isFirstGame);
|
||||
|
||||
public abstract CardCollection orderBlockers(Card attacker, CardCollection blockers);
|
||||
|
||||
@@ -440,7 +440,7 @@ public class WrappedAbility extends Ability {
|
||||
|
||||
TriggerHandler th = game.getTriggerHandler();
|
||||
|
||||
if (decider != null && !decider.getController().confirmTrigger(sa, regtrig, triggerParams, this.isMandatory())) {
|
||||
if (decider != null && !decider.getController().confirmTrigger(this, triggerParams, this.isMandatory())) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user