Changes to _cards.dat to account for layouts

I had to modify how the _cards.dat files are created to incorporate variant layouts of adventures, aftermath, and split cards. They are now showing in the collection, but you will need to download the images again.
Rootless Yew
Repel Intruders
Resplendent Angel
Karn, Scion of Urza
This commit is contained in:
Eduardo MG
2024-08-07 23:41:50 -06:00
parent 2cef9d8f60
commit 67666e850d
15 changed files with 295 additions and 764 deletions

View File

@@ -14812,7 +14812,7 @@ subtype=Cave
[/card]
[card]
name=Captivating Crew
auto={3}{R}:name(gain control) target(creature|opponentbattlefield) transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],haste)) ueot asSorcery
auto={3}{R}:name(gain control) target(creature|opponentbattlefield) moveto(mybattlefield) and!(transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste)) ueot)! asSorcery
text={3}{R}: Gain control of target creature an opponent controls until end of turn. Untap that creature. It gains haste until end of turn. Activate this ability only any time you could cast a sorcery.
mana={3}{R}
type=Creature
@@ -39425,7 +39425,7 @@ name=Gadrak, the Crown-Scourge
abilities=flying
auto=aslongas(artifact|myBattlefield) cantattack <4
auto=aslongas(artifact|myBattlefield) cantpwattack <4
auto=@each my endofturn:foreach(creature[-token;fresh]|graveyard) _TREASURE_
auto=@each my endofturn:_TREASURE_*bothalldeadcreature
text=Flying -- Gadrak, the Crown-Scourge can't attack unless you control four or more artifacts. -- At the beginning of your end step, create a Treasure token for each nontoken creature that died this turn. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.")
mana={2}{R}
type=Legendary Creature
@@ -65056,7 +65056,7 @@ type=Sorcery
[/card]
[card]
name=Mayhem Devil
auto=@sacrificed(*|battlefield):damage:1 target(anytarget)
auto=@sacrificed(*|battlefield):target(anytarget) damage:1
text=Whenever a player sacrifices a permanent, Mayhem Devil deals 1 damage to any target.
mana={1}{B}{R}
type=Creature
@@ -84275,13 +84275,10 @@ type=Sorcery
[/card]
[card]
name=Repel Intruders
other={3}{U} name(Pay blue mana)
auto=if paid(alternative) then target(creature|stack) fizzle
kicker={U}
auto=kicker ifnot paid(alternative) then target(creature|stack) fizzle
auto=ifnot paid(alternative) then token(Kithkin Soldier,creature kithkin soldier,1/1,white)*2
text=Put two 1/1 white Kithkin Soldier creature tokens onto the battlefield if {W} was spent to cast Repel Intruders. Counter up to one target creature spell if {U} was spent to cast Repel Intruders. (Do both if {W}{U} was spent.)
mana={3}{W}
auto=if spent({U}) then target(creature|stack) fizzle
auto=if spent({W}) then token(Kithkin Soldier,creature kithkin soldier,1/1,white)*2
text=Create two 1/1 white Kithkin Soldier creature tokens if {W} was spent to cast this spell. Counter up to one target creature spell if {U} was spent to cast this spell. (Do both if {W}{U} was spent.)
mana={3}{WU}
type=Instant
[/card]
[card]
@@ -84548,7 +84545,7 @@ toughness=3
[card]
name=Resplendent Angel
abilities=flying
auto=@each endofturn restriction{compare(lifegain)~morethan~5}:create(angel:creature angel:4/4:white:flying:vigilance)
auto=@each endofturn restriction{compare(lifegain)~morethan~4}:create(angel:creature angel:4/4:white:flying:vigilance)
auto={3}{W}{W}{W}:2/2 && lifelink ueot
text=Flying -- At the beginning of each end step, if you gained 5 or more life this turn, create a 4/4 white Angel creature token with flying and vigilance. -- {3}{W}{W}{W}: Until end of turn, Resplendent Angel gets +2/+2 and gains lifelink.
mana={1}{W}{W}
@@ -86942,8 +86939,7 @@ toughness=4
[/card]
[card]
name=Rootless Yew
abilities=trample
auto=_DIES_name(Put creature in hand) target(creature[power>=6]|mygraveyard) moveto(ownerHand) and!( shuffle )!
auto=_DIES_ability$!choice name() name(power 6 or greater) target(creature[power>=6]|mylibrary) moveto(ownerHand) _ choice name(toughness 6 or greater) target(creature[toughness>=6]|mylibrary) moveto(ownerHand)!$ controller
text=When Rootless Yew dies, search your library for a creature card with power or toughness 6 or greater, reveal it, put it into your hand, then shuffle.
mana={3}{G}{G}
type=Creature
@@ -107216,8 +107212,8 @@ toughness=4
name=The Reaver Cleaver
auto=teach(creature) 1/1
auto=teach(creature) trample
auto=teach(creature) transforms((,newability[@combatdamaged(player) from(this):_TREASURE_*thatmuch]))
auto=teach(creature) transforms((,newability[@combatdamaged(planeswalker) from(this):_TREASURE_*thatmuch]))
auto=@combatdamaged(player) from(mytgt):_TREASURE_*thatmuch
auto=@combatdamaged(planeswalker) from(mytgt):_TREASURE_*thatmuch
auto={3}:equip
text=Equipped creature gets +1/+1 and has trample and "Whenever this creature deals combat damage to a player or planeswalker, create that many Treasure tokens." -- Equip {3}
mana={2}{R}

View File

@@ -54830,8 +54830,8 @@ toughness=1
[/card]
[card]
name=Hissing Iguanar
auto=@movedTo(graveyard) from(other creature|battlefield):may damage:1 target(player)
text=Whenever another creature dies, you may have Hissing Iguanar deal 1 damage to target player.
auto=@movedTo(other creature|graveyard) from(battlefield):may damage:1 target(player,planeswalker)
text=Whenever another creature dies, you may have Hissing Iguanar deal 1 damage to target player or planeswalker.
mana={2}{R}
type=Creature
subtype=Lizard

View File

@@ -1724,7 +1724,7 @@ name=Karn, Scion of Urza
aicode=activate target(*[zpos<=1]|myLibrary) moveto(ownerHand) && target(*[zpos<=1]|myLibrary) moveto(ownerExile)
auto=counter(0/0,5,loyalty)
auto={C(0/0,1,Loyalty)}:name(+1: Reveal two exile one and put in hand) reveal:2 optionone name(Look at the top two cards) target(*|reveal) moveto(myHand) optiononeend optiontwo name(Exile) target(*|reveal) moveTo(myExile) optiontwoend revealend
auto={C(0/0,-3,Loyalty)}:name(-3: Return a exile card to your hand) moveTo(myHand) target(*|myExile)
auto={C(0/0,-1,Loyalty)}:name(-1: Return a exiled card to your hand) moveTo(myHand) target(*|myExile)
auto={C(0/0,-2,Loyalty)}:name(-2: Create a 0/0 Construct) token(Construct,Artifact Creature Construct,0/0) and!( transforms((,newability[foreach(artifact|mybattlefield) 1/1])) forever )!
text=+1: Reveal the top two cards of your library. An opponent chooses one of them. Put that card into your hand and exile the other with a silver counter on it. -- 1: Put a card you own with a silver counter on it from exile into your hand. -- 2: Create a 0/0 colorless Construct artifact creature token with "This creature gets +1/+1 for each artifact you control."
mana={4}