Improved and added new "starting life" related keywords, fixed all primitives related to "starting life" keywords.

This commit is contained in:
Vittorio Alfieri
2021-01-01 03:47:02 +01:00
parent e3aff3c23a
commit 65bf650868
4 changed files with 28 additions and 17 deletions
+4 -4
View File
@@ -4397,8 +4397,8 @@ toughness=1
[card]
name=Anya, Merciless Angel
abilities=flying
auto=this(opponentlife < 10) indestructible
auto=this(opponentlife < 10) 3/3
auto=this(variable{ohalfinitlife}) indestructible
auto=this(variable{ohalfinitlife}) 3/3
text=Flying -- Anya, Merciless Angel gets +3/+3 for each opponent whose life total is less than half his or her starting life total. -- As long as an opponent's life total is less than half his or her starting life total, Anya has indestructible.
mana={3}{R}{W}
type=Legendary Creature
@@ -7980,7 +7980,7 @@ toughness=5
name=Ayli, Eternal Pilgrim
abilities=deathtouch
auto={1}{S(other creature|myBattlefield)}:name(you gain life) life:storedtoughness controller
auto=this(controllerlife > 29) transforms((,newability[{1}{w}{b}{S(other creature|myBattlefield)}:moveto(exile) target(*[-land])]))
auto=this(variable{pdiffinitlife}>9) transforms((,newability[{1}{w}{b}{S(other creature|myBattlefield)}:moveto(exile) target(*[-land])]))
text=Deathtouch -- {1}, Sacrifice another creature: You gain life equal to the sacrificed creature's toughness. -- {1}{W}{B}, Sacrifice another creature: Exile target nonland permanent. Activate this ability only if you have at least 10 life more than your starting life total.
mana={W}{B}
type=Legendary Creature
@@ -18512,7 +18512,7 @@ type=Artifact
[/card]
[card]
name=Chalice of Life
auto={t}:life:1 && if compare(lifetotal)~morethan~29 then flip(Chalice of Death)
auto={t}:life:1 && if compare(lifetotalminusstartinglifeminusend)~morethan~9 then flip(Chalice of Death)
text={T}: You gain 1 life. Then if you have at least 10 life more than your starting life total, transform Chalice of Life.
mana={3}
type=Artifact