From 1b4a0a3381ede4f78a2fbcfd19feda04eb0c267a Mon Sep 17 00:00:00 2001 From: Northmoc Date: Sat, 31 Oct 2020 09:38:17 -0400 Subject: [PATCH] archon_of_coronation.txt and support --- forge-game/src/main/java/forge/game/player/Player.java | 2 +- .../res/cardsfolder/upcoming/archon_of_coronation.txt | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 forge-gui/res/cardsfolder/upcoming/archon_of_coronation.txt 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 2503a669e52..dca26d219c0 100644 --- a/forge-game/src/main/java/forge/game/player/Player.java +++ b/forge-game/src/main/java/forge/game/player/Player.java @@ -517,7 +517,7 @@ public class Player extends GameEntity implements Comparable { } public final boolean canLoseLife() { - return !hasKeyword("Your life total can't change."); + return !hasKeyword("Your life total can't change.") && !hasKeyword("Damage doesn't cause you to lose life."); } public final boolean canPayLife(final int lifePayment) { diff --git a/forge-gui/res/cardsfolder/upcoming/archon_of_coronation.txt b/forge-gui/res/cardsfolder/upcoming/archon_of_coronation.txt new file mode 100755 index 00000000000..f68662bebe9 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/archon_of_coronation.txt @@ -0,0 +1,9 @@ +Name:Archon of Coronation +ManaCost:4 W W +Types:Creature Archon +PT:5/5 +K:Flying +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMonarch | TriggerDescription$ When CARDNAME enters the battlefield, you become the monarch. +SVar:TrigMonarch:DB$ BecomeMonarch | Defined$ You +S:Mode$ Continuous | Affected$ You | Condition$ You.isMonarch | AddKeyword$ Damage doesn't cause you to lose life. | Description$ As long as you're the monarch, damage doesn't cause you to lose life. +Oracle:Flying\nWhen Archon of Coronation enters the battlefield, you become the monarch.\nAs long as you're the monarch, damage doesn't cause you to lose life.