mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Fix Dig in Thassas Oracle, disallow cancel
This commit is contained in:
@@ -5,6 +5,6 @@ PT:1/3
|
|||||||
SVar:X:Count$Devotion.Blue
|
SVar:X:Count$Devotion.Blue
|
||||||
SVar:Y:Count$InYourLibrary
|
SVar:Y:Count$InYourLibrary
|
||||||
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigDig | TriggerDescription$ When CARDNAME enters the battlefield, look at the top X cards of your library, where X is your devotion to blue. Put one of them on top of your library and the rest on the bottom of your library in a random order. If X is greater than or equal to the number of cards in your library, you win the game.
|
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigDig | TriggerDescription$ When CARDNAME enters the battlefield, look at the top X cards of your library, where X is your devotion to blue. Put one of them on top of your library and the rest on the bottom of your library in a random order. If X is greater than or equal to the number of cards in your library, you win the game.
|
||||||
SVar:TrigDig:DB$Dig | DigNum$ X | ChangeNum$ 1 | Optional$ True | DestinationZone$ Library | References$ X | LibraryPosition$ 0 | SubAbility$ DBWin
|
SVar:TrigDig:DB$ Dig | DigNum$ X | ChangeNum$ 1 | DestinationZone$ Library | References$ X | LibraryPosition$ 0 | RestRandomOrder$ True | SubAbility$ DBWin
|
||||||
SVar:DBWin:DB$ WinsGame | Defined$ You | ConditionCheckSVar$ Y | ConditionSVarCompare$ LEX | References$ X,Y
|
SVar:DBWin:DB$ WinsGame | Defined$ You | ConditionCheckSVar$ Y | ConditionSVarCompare$ LEX | References$ X,Y
|
||||||
Oracle:When Thassa's Oracle enters the battlefield, look at the top X cards of your library, where X is your devotion to blue. Put one of them on top of your library and the rest on the bottom of your library in a random order. If X is greater than or equal to the number of cards in your library, you win the game. (Each {U} in the mana costs of permanents you control counts toward your devotion to blue.)
|
Oracle:When Thassa's Oracle enters the battlefield, look at the top X cards of your library, where X is your devotion to blue. Put one of them on top of your library and the rest on the bottom of your library in a random order. If X is greater than or equal to the number of cards in your library, you win the game. (Each {U} in the mana costs of permanents you control counts toward your devotion to blue.)
|
||||||
@@ -493,7 +493,7 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
|||||||
if (useSelectCardsInput(optionList)) {
|
if (useSelectCardsInput(optionList)) {
|
||||||
final InputSelectEntitiesFromList<T> input = new InputSelectEntitiesFromList<>(this, min, max,
|
final InputSelectEntitiesFromList<T> input = new InputSelectEntitiesFromList<>(this, min, max,
|
||||||
optionList, sa);
|
optionList, sa);
|
||||||
input.setCancelAllowed(true);
|
input.setCancelAllowed(min == 0);
|
||||||
input.setMessage(MessageUtil.formatMessage(title, player, targetedPlayer));
|
input.setMessage(MessageUtil.formatMessage(title, player, targetedPlayer));
|
||||||
input.showAndWait();
|
input.showAndWait();
|
||||||
endTempShowCards();
|
endTempShowCards();
|
||||||
|
|||||||
Reference in New Issue
Block a user