mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
ULG: Mine, Mine, Mine!
This commit is contained in:
@@ -2101,7 +2101,10 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
// since the last time state-based actions were checked, he or she loses the game.
|
||||
if (triedToDrawFromEmptyLibrary) {
|
||||
triedToDrawFromEmptyLibrary = false; // one-shot check
|
||||
return loseConditionMet(GameLossReason.Milled, null);
|
||||
// Mine, Mine, Mine! prevents decking
|
||||
if (!hasKeyword("You don't lose the game for drawing from an empty library.")) {
|
||||
return loseConditionMet(GameLossReason.Milled, null);
|
||||
}
|
||||
}
|
||||
|
||||
// Rule 704.5c - If a player has ten or more poison counters, he or she loses the game.
|
||||
|
||||
11
forge-gui/res/cardsfolder/m/mine_mine_mine.txt
Normal file
11
forge-gui/res/cardsfolder/m/mine_mine_mine.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Name:Mine, Mine, Mine!
|
||||
ManaCost:4 G G
|
||||
Types:Enchantment
|
||||
T:Mode$ ChangesZone | ValidCard$ Card.Self | Destination$ Battlefield | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, each player puts their library into their hand.
|
||||
SVar:TrigChangeZone:DB$ ChangeZoneAll | ChangeType$ Card | Origin$ Library | Destination$ Hand
|
||||
S:Mode$ Continuous | Affected$ Player | SetMaxHandSize$ Unlimited | Description$ Players don't lose the game for drawing from an empty library.
|
||||
S:Mode$ Continuous | Affected$ Player | Secondary$ True | AddKeyword$ You don't lose the game for drawing from an empty library. | Description$ Players don't lose the game for drawing from an empty library.
|
||||
S:Mode$ CantBeCast | ValidCard$ Card | Caster$ Player | NumLimitEachTurn$ 1 | Description$ Each player can't cast more than one spell each turn.
|
||||
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Execute$ TrigShuffleBack | TriggerDescription$ When CARDNAME leaves the battlefield, each player shuffles their hand and graveyard into their library.
|
||||
SVar:TrigShuffleBack:DB$ ChangeZoneAll | ChangeType$ Card | Origin$ Hand,Graveyard | Destination$ Library | Shuffle$ True | Random$ True
|
||||
Oracle:When Mine, Mine, Mine! enters the battlefield, each player puts their library into their hand.\nPlayers have no maximum hand size and don't lose the game for drawing from an empty library.\nEach player can't cast more than one spell each turn.\nWhen Mine, Mine, Mine! leaves the battlefield, each player shuffles their hand and graveyard into their library.
|
||||
Reference in New Issue
Block a user