Fixed some primitives, fixed several bug on damage management for planeswalkers and battle cards, added new keywords "noloyaltydamage" and "nodefensedamage" to avoid damage remove counters,

This commit is contained in:
Vittorio Alfieri
2023-05-22 01:19:15 +02:00
parent dd28f274d1
commit 2374b00dfd
10 changed files with 53 additions and 38 deletions
@@ -81333,8 +81333,11 @@ toughness=3
[card]
name=Spark Rupture
auto=draw:1 controller
auto=lord(planeswalker[counter{0/0.1.Loyatly}]|battlefield) loseabilities
auto=lord(planeswalker[counter{0/0.1.Loyatly}]|battlefield) transforms((Creature,setpower=hascntloyalty,settoughness=hascntloyalty))
auto=lord(planeswalker[counter{0/0.1.Loyalty}]|battlefield) loseabilities
auto=lord(planeswalker[counter{0/0.1.Loyalty}]|battlefield) noloyaltydamage
auto=lord(planeswalker[counter{0/0.1.Loyalty}]|battlefield) transforms((Creature,setpower=hascntloyalty,settoughness=hascntloyalty))
auto=@counterremoved(0/0,1,Loyalty) from(planeswalker[counter{0/0.1.Loyalty}]|battlefield):lord(planeswalker[counter{0/0.1.Loyalty}]|battlefield) transforms((Creature,setpower=hascntloyalty,settoughness=hascntloyalty))
auto=@counteradded(0/0,1,Loyalty) from(planeswalker[counter{0/0.1.Loyalty}]|battlefield):lord(planeswalker[counter{0/0.1.Loyalty}]|battlefield) transforms((Creature,setpower=hascntloyalty,settoughness=hascntloyalty))
text=When Spark Rupture enters the battlefield, draw a card. -- Each planeswalker with one or more loyalty counters on it loses all abilities and is a creature with power and toughness each equal to the number of loyalty counters on it.
mana={2}{W}
type=Enchantment
@@ -90712,7 +90715,7 @@ otherrestriction=can play equipment,compare(isflipped)~equalto~1
restriction=compare(isflipped)~equalto~0
anyzone={0}:doubleside(Toralf's Hammer)
autostack=if paid(alternative) then flip(Toralf's Hammer) forcetype(Legendary Artifact)
auto=@noncombatdamaged(*[creature;planeswalker]|opponentbattlefield) restriction{compare(isflipped)~equalto~0}:name(Deals damage) target(player,creature,planeswalker) damage:excessdamage
auto=@noncombatdamaged(*[creature;planeswalker]|opponentbattlefield) restriction{compare(isflipped)~equalto~0,compare(excessdamage)~morethan~0}:name(Deals damage) target(player,creature,planeswalker) damage:excessdamage
text=Trample -- Whenever a creature or planeswalker an opponent controls is dealt excess noncombat damage, Toralf, God of Fury deals damage equal to the excess to any target other than that permanent. // {1}{R} Toralf's Hammer
mana={2}{R}{R}
type=Legendary Creature