Bug fixes. Damage prevention was crashing the game on certain cards

Piston-Fist Cyclops
Leapfrog
Burrenton Forge-Tender was crashing the game
damage prevention doesn't work in the stack Burrenton Forge-Tender, Prahv, Spires of Order
Biblioplex Assistant
Rhonas's Monument was crashing the game
This commit is contained in:
Eduardo MG
2022-11-03 23:53:40 -06:00
parent b171381b35
commit 0d9c17ab64
3 changed files with 30 additions and 27 deletions
+7 -7
View File
@@ -7153,7 +7153,7 @@ toughness=1
[/card]
[card]
name=Auriok Replica
auto={W}{S}:name(prevent damage) target(other *|battlefield,stack,hand,graveyard,commandzone,exile) transforms((,newability[preventalldamage from(this)])) ueot
auto={W}{S}:name(prevent damage) target(*) transforms((,newability[preventalldamage from(this)])) ueot
text={W}, Sacrifice Auriok Replica: Prevent all damage a source of your choice would deal to you this turn.
mana={3}
type=Artifact Creature
@@ -9153,7 +9153,7 @@ type=Sorcery
[card]
name=Bargaining Table
auto={T}:draw:1 restriction{type(*|opponenthand)~lessthan~1}
auto={1}{T}{T}:draw:1 restriction{type(*|opponenthand)~equalto~1}
auto={1}{T}:draw:1 restriction{type(*|opponenthand)~equalto~1}
auto={2}{T}:draw:1 restriction{type(*|opponenthand)~equalto~2}
auto={3}{T}:draw:1 restriction{type(*|opponenthand)~equalto~3}
auto={4}{T}:draw:1 restriction{type(*|opponenthand)~equalto~4}
@@ -15961,7 +15961,7 @@ toughness=2
[card]
name=Burrenton Forge-Tender
abilities=protection from red
auto={S}:name(Prevent all damage from red source) target(*[red]|battlefield,stack,hand,graveyard,commandzone,exile) transforms((,newability[preventalldamage from(this)])) ueot
auto={S}:name(Prevent all damage from red source) target(*[red]) transforms((,newability[preventalldamage from(this)])) ueot
text=Protection from red -- Sacrifice Burrenton Forge-Tender: Prevent all damage a red source of your choice would deal this turn.
mana={W}
type=Creature
@@ -36004,7 +36004,7 @@ auto=@movedTo(creature[manacost=12]|mystack):token(Thrull,Creature Thrull,1/1,bl
auto=@movedTo(creature[manacost=13]|mystack):token(Thrull,Creature Thrull,1/1,black)*13 && aslongas(thrull|mybattlefield) sacrifice >6
auto=@movedTo(creature[manacost=14]|mystack):token(Thrull,Creature Thrull,1/1,black)*14 && aslongas(thrull|mybattlefield) sacrifice >6
auto=@movedTo(creature[manacost=15]|mystack):token(Thrull,Creature Thrull,1/1,black)*15 && aslongas(thrull|mybattlefield) sacrifice >6
auto=aslongas(thrull|mybattlefield) sacrifice while >6
auto=aslongas(thrull|mybattlefield) sacrifice >6
text=Whenever you cast a creature spell, put X 1/1 black Thrull creature tokens onto the battlefield, where X is that spell's mana value. -- When you control seven or more Thrulls, sacrifice Endrek Sahr, Master Breeder.
mana={4}{B}
type=Legendary Creature
@@ -88047,7 +88047,7 @@ type=Sorcery
[card]
name=Prahv, Spires of Order
auto={T}:add{1}
auto={4}{W}{U}{T}:name(prevent damage) target(*|battlefield,stack,hand,graveyard,commandzone,exile) transforms((,newability[preventalldamage from(this)])) ueot
auto={4}{W}{U}{T}:name(prevent damage) target(*) transforms((,newability[preventalldamage from(this)])) ueot
text={T}: Add {1} to your mana pool. -- {4}{W}{U}, {T}: Prevent all damage a source of your choice would deal this turn.
type=Land
[/card]
@@ -91550,7 +91550,7 @@ type=Artifact
[card]
name=Rakdos the Defiler
abilities=flying,trample
auto=_ATTACKING_choice target(<halfuptype:*[-demon]:mybattlefield>*|mybattlefield) sacrifice
auto=_ATTACKING_choice target(<halfuptype:*[-demon]:mybattlefield>*|mybattlefield) sacrifice cdaactive
auto=@combatdamagefoeof(player) from(this):ability$!name(sacrifice) target(<halfuptype:*[-demon]:opponentbattlefield>*|mybattlefield) sacrifice!$ opponent
auto=@combatdamageof(player) from(this):ability$!name(sacrifice) target(<halfuptype:*[-demon]:opponentbattlefield>*|mybattlefield) sacrifice!$ controller
text=Flying, trample -- Whenever Rakdos the Defiler attacks, sacrifice half the non-Demon permanents you control, rounded up. -- Whenever Rakdos deals combat damage to a player, that player sacrifices half the non-Demon permanents he or she controls, rounded up.
@@ -129469,7 +129469,7 @@ toughness=2
[/card]
[card]
name=Viridian Longbow
auto={1}:equip
auto={3}:equip
auto=teach(creature) {T}:damage:1 target(creature,player)
text=Equipped creature has "{T}: This creature deals 1 damage to target creature or player." -- Equip {3} ({3}: Attach to target creature you control. Equip only as a sorcery. This card enters the battlefield unattached and stays on the battlefield if the creature leaves.)
mana={1}