Macros for surveil, bug fixes on primitives

Surveil, like scry, using parameters causes bugs so each value has to be indicated, updated some oracle text on cards that now use surveil.
Bug fixes:
Wolfwillow Haven
Karador, Ghost Chieftain
Ryusei, the Falling Star
Phyrexian Etchings
Pillar Of Flame. Exiles itself when it targets a player
Tuya Bearclaw
Dauthi Mindripper
This commit is contained in:
Eduardo MG
2023-05-21 00:22:33 -06:00
parent 430589e64c
commit c3e8379258
3 changed files with 47 additions and 43 deletions

View File

@@ -26397,7 +26397,7 @@ toughness=1
[card]
name=Dauthi Mindripper
abilities=shadow
auto=@combat(notblocked) source(this):may ability$!name(discard 2 cards) target(<3>*|myhand) reject!$ opponent && sacrifice all(this)
auto=@combat(notblocked) source(this):may ability$!name(discard 3 cards) target(<3>*|myhand) reject!$ opponent && sacrifice all(this)
text=Shadow (This creature can block or be blocked by only creatures with shadow.) -- Whenever Dauthi Mindripper attacks and isn't blocked, you may sacrifice it. If you do, defending player discards three cards.
mana={3}{B}
type=Creature
@@ -50351,9 +50351,9 @@ type=Enchantment
name=Grim Flayer
abilities=trample
aicode=name(look) activate name(look) transforms((,newability[foreach(*[zpos<=3]|mylibrary) moverandom(*[zpos<=3]) from(mylibrary) to(mylibrary)])) ueot
auto=@combatdamaged(player) from(this):name(look) reveal:3 optionone name(Put In Graveyard) target(<upto:3>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<3>*|reveal) moveto(ownerlibrary) optiontwoend revealend
auto=@combatdamaged(player) from(this):_SURVEIL3_
auto=while(restriction{delirium}) 2/2
text=Trample -- Whenever Grim Flayer deals combat damage to a player, look at the top three cards of your library. Put any number of them into your graveyard and the rest back on top of your library in any order. -- Delirium -- Grim Flayer gets +2/+2 as long as there are four or more card types among cards in your graveyard.
text=Trample -- Whenever Grim Flayer deals combat damage to a player, surveil 3. (Look at the top three cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.) -- Delirium -- Grim Flayer gets +2/+2 as long as there are four or more card types among cards in your graveyard.
mana={B}{G}
type=Creature
subtype=Human Warrior
@@ -86256,7 +86256,7 @@ toughness=1
name=Phyrexian Etchings
auto=cumulativeupcost[{B}] sacrifice
auto=@each my endofturn:draw:counter{0%0.1.Age} controller
auto=_DIES_life:-counter{0%0.1.Age} controller
auto=_DIES_life:-counter{0%0.1.Age} controller && life:-counter{0%0.1.Age} controller
text=Cumulative upkeep {B} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.) -- At the beginning of your end step, draw a card for each age counter on Phyrexian Etchings. -- When Phyrexian Etchings is put into a graveyard from the battlefield, you lose 2 life for each age counter on it.
mana={B}{B}{B}
type=Enchantment
@@ -86759,7 +86759,7 @@ toughness=5
[card]
name=Pillar of Flame
target=creature,player
auto=exiledeath
auto=if cantargetcard(creature|*) then exiledeath
auto=damage:2
text=Pillar of Flame deals 2 damage to target creature or player. If a creature dealt damage this way would die this turn, exile it instead.
mana={R}
@@ -97909,7 +97909,7 @@ toughness=2
[card]
name=Ryusei, the Falling Star
abilities=flying
auto=_DIES_damage:5 all(creature[-flying])
auto=_DIES_damage:5 all(*[creature;-flying])
text=Flying -- When Ryusei, the Falling Star dies, it deals 5 damage to each creature without flying.
mana={5}{R}
type=Legendary Creature
@@ -115318,8 +115318,8 @@ type=Land
[card]
name=Sultai Ascendancy
aicode=name(look) activate name(look) transforms((,newability[foreach(*[zpos<=2]|mylibrary) moverandom(*[zpos<=2]) from(mylibrary) to(mylibrary)])) ueot
auto=@each my upkeep:name(look) reveal:2 optionone name(Discard cards) target(<anyamount>*|reveal) moveto(mygraveyard) optiononeend optiontwo name(put on top) target(<2>*|reveal) moveto(mylibrary) optiontwoend revealend
text=At the beginning of your upkeep, look at the top two cards of your library. Put any number of them into your graveyard and the rest back on top of your library in any order.
auto=@each my upkeep:_SURVEIL2_
text=At the beginning of your upkeep, surveil 2. (Look at the top two cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.)
mana={B}{G}{U}
type=Enchantment
[/card]