mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
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:
@@ -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."),
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
9
forge-gui/res/cardsfolder/upcoming/yurlok_of_scorch_thrash.txt
Executable file
9
forge-gui/res/cardsfolder/upcoming/yurlok_of_scorch_thrash.txt
Executable 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}.
|
||||
Reference in New Issue
Block a user