diff --git a/forge-game/src/main/java/forge/game/player/Player.java b/forge-game/src/main/java/forge/game/player/Player.java index f2edcbbf666..f82b12b53ef 100644 --- a/forge-game/src/main/java/forge/game/player/Player.java +++ b/forge-game/src/main/java/forge/game/player/Player.java @@ -2101,7 +2101,10 @@ public class Player extends GameEntity implements Comparable { // 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. diff --git a/forge-gui/res/cardsfolder/m/mine_mine_mine.txt b/forge-gui/res/cardsfolder/m/mine_mine_mine.txt new file mode 100644 index 00000000000..0c5ebc9d4a1 --- /dev/null +++ b/forge-gui/res/cardsfolder/m/mine_mine_mine.txt @@ -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. \ No newline at end of file