Merge branch 'yurlok' into 'master'

CMR: Yurlok of Scorch Thrash and support (Mana burn!)

See merge request core-developers/forge!3381
This commit is contained in:
Michael Kamensky
2020-11-12 03:56:49 +00:00
3 changed files with 12 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ public enum GlobalRuleChange {
alwaysWither ("All damage is dealt as though its source had wither."),
attackerChoosesBlockers ("The attacking player chooses how each creature blocks each turn."),
manaBurn ("A player losing unspent mana causes that player to lose that much life."),
manapoolsDontEmpty ("Mana pools don't empty as steps and phases end."),
noCreatureETBTriggers ("Creatures entering the battlefield don't cause abilities to trigger."),
noCreatureDyingTriggers ("Creatures dying don't cause abilities to trigger."),

View File

@@ -452,7 +452,8 @@ public class PhaseHandler implements java.io.Serializable {
for (Player p : game.getPlayers()) {
int burn = p.getManaPool().clearPool(true).size();
boolean manaBurns = game.getRules().hasManaBurn();
boolean manaBurns = game.getRules().hasManaBurn() ||
(game.getStaticEffects().getGlobalRuleChange(GlobalRuleChange.manaBurn));
if (manaBurns) {
p.loseLife(burn,true);
}

View File

@@ -0,0 +1,9 @@
Name:Yurlok of Scorch Thrash
ManaCost:1 B R G
Types:Legendary Creature Viashino Shaman
PT:4/4
K:Vigilance
S:Mode$ Continuous | GlobalRule$ A player losing unspent mana causes that player to lose that much life. | Description$ A player losing unspent mana causes that player to lose that much life.
A:AB$ Mana | Cost$ 1 T | Produced$ B R G | Defined$ Player | SpellDescription$ Each player adds {B}{R}{G}.
AI:RemoveDeck:All
Oracle:Vigilance\nA player losing unspent mana causes that player to lose that much life.\n{1}, {T}: Each player adds {B}{R}{G}.