ULG: Mine, Mine, Mine!

This commit is contained in:
Hythonia
2021-03-06 12:02:38 +01:00
parent d671eed1bd
commit 849c1faaff
2 changed files with 15 additions and 1 deletions

View File

@@ -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.