Changed some conditions to simpler variables

newability[reach] changed to just reach
Bug fixes
Garruk, Unleashed
This commit is contained in:
Eduardo MG
2024-08-13 00:13:13 -06:00
parent 618a418ea6
commit 57c59ee0dd
4 changed files with 41 additions and 41 deletions
+18 -18
View File
@@ -953,8 +953,8 @@ type=Instant
[card]
name=Advice from the Fae
abilities=hiddenface
aicode=activate transforms((,newability[if type(creature|mybattlefield)~morethan~type(creature|opponentbattlefield) then name(Pick 2) target(<2>*[zpos<=5]|mylibrary) moveto(ownerHand) else name(pick 1) target(<1>*[zpos<=5]|mylibrary) moveto(ownerHand)])) ueot
auto=name(look) reveal:5 optionone if type(creature|mybattlefield)~morethan~type(creature|opponentbattlefield) then name(Pick 2) target(<2>*|reveal) moveto(ownerHand) else name(pick 1) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put On Bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend
aicode=activate transforms((,newability[if control more creatures then name(Pick 2) target(<2>*[zpos<=5]|mylibrary) moveto(ownerHand) else name(pick 1) target(<1>*[zpos<=5]|mylibrary) moveto(ownerHand)])) ueot
auto=name(look) reveal:5 optionone if control more creatures then name(Pick 2) target(<2>*|reveal) moveto(ownerHand) else name(pick 1) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put On Bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend
text=({(2/u)} can be paid with any two mana or with {U}. This card's mana value is 6.) -- Look at the top five cards of your library. If you control more creatures than each other player, put two of those cards into your hand. Otherwise, put one of them into your hand. Then put the rest on the bottom of your library in any order.
mana={2U}{2U}{2U}
type=Sorcery
@@ -8360,9 +8360,9 @@ type=Sorcery
[/card]
[card]
name=Balance
auto=if type(land|mybattlefield)~morethan~type(land|opponentbattlefield) then ability$! sacrifice notatarget(<type:land:mybattlefieldminustype:land:opponentbattlefieldminusend>land|mybattlefield) !$ controller
auto=if control more lands then ability$! sacrifice notatarget(<type:land:mybattlefieldminustype:land:opponentbattlefieldminusend>land|mybattlefield) !$ controller
auto=if type(land|opponentbattlefield)~morethan~type(land|mybattlefield) then ability$! sacrifice notatarget(<type:land:mybattlefieldminustype:land:opponentbattlefieldminusend>land|mybattlefield) !$ opponent
auto=if type(creature|mybattlefield)~morethan~type(creature|opponentbattlefield) then ability$! sacrifice notatarget(<type:creature:mybattlefieldminustype:creature:opponentbattlefieldminusend>creature|mybattlefield) !$ controller
auto=if control more creatures then ability$! sacrifice notatarget(<type:creature:mybattlefieldminustype:creature:opponentbattlefieldminusend>creature|mybattlefield) !$ controller
auto=if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then ability$! sacrifice notatarget(<type:creature:mybattlefieldminustype:creature:opponentbattlefieldminusend>creature|mybattlefield) !$ opponent
auto=if type(*|myhand)~morethan~type(*|opponenthand) then ability$! reject notatarget(<type:*:myhandminustype:*:opponenthandminusend>*|myhand) !$ controller
auto=if type(*|opponenthand)~morethan~type(*|myhand) then ability$! reject notatarget(<type:*:myhandminustype:*:opponenthandminusend>*|myhand) !$ opponent
@@ -50138,7 +50138,7 @@ toughness=4
[/card]
[card]
name=Greener Pastures
auto=@each my upkeep:if type(land|mybattlefield)~morethan~type(land|opponentbattlefield) then _SAPROLINGTOKEN_
auto=@each my upkeep:if control more lands then _SAPROLINGTOKEN_
auto=@each opponent upkeep:if type(land|opponentbattlefield)~morethan~type(land|mybattlefield) then _SAPROLINGTOKEN_ opponent
text=At the beginning of each player's upkeep, if that player controls more lands than each other player, the player puts a 1/1 green Saproling creature token onto the battlefield.
mana={2}{G}
@@ -63690,7 +63690,7 @@ toughness=2
name=Knight of the White Orchid
abilities=first strike
aicode=activate moveTo(myBattlefield) target(plains|myLibrary)
auto=if type(land|mybattlefield)~lessthan~type(land|opponentbattlefield) then name(search card) reveal:plibrarycount optionone name(choose card) target(plains|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield))! afterrevealedend revealend
auto=if control less lands then name(search card) reveal:plibrarycount optionone name(choose card) target(plains|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield))! afterrevealedend revealend
text=First strike -- When Knight of the White Orchid enters, if an opponent controls more lands than you, you may search your library for a Plains card, put it onto the battlefield, then shuffle.
mana={W}{W}
type=Creature
@@ -65482,7 +65482,7 @@ type=Land
[/card]
[card]
name=Land Equilibrium
auto=@movedTo(land|opponentbattlefield):if type(land|mybattlefield)~lessthan~type(land|opponentbattlefield) then ability$!name(sacrifice land) notatarget(land|mybattlefield) sacrifice!$ opponent
auto=@movedTo(land|opponentbattlefield):if control less lands then ability$!name(sacrifice land) notatarget(land|mybattlefield) sacrifice!$ opponent
auto=@movedTo(land|opponentbattlefield):if type(land|mybattlefield)~equalto~type(land|opponentbattlefield) then ability$!name(sacrifice land) notatarget(land|mybattlefield) sacrifice!$ opponent
text=If an opponent who controls at least as many lands as you do would put a land onto the battlefield, that player instead puts that land onto the battlefield then sacrifices a land.
mana={2}{U}{U}
@@ -67554,7 +67554,7 @@ toughness=4
name=Linvala, the Preserver
abilities=flying
auto=if compare(lifetotal)~lessthan~compare(opponentlifetotal) then life:5 controller
auto=if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then token(Angel,Creature Angel,3/3,white,flying)
auto=if control less creatures then token(Angel,Creature Angel,3/3,white,flying)
text=Flying -- When Linvala, the Preserver enters, if an opponent has more life than you, you gain 5 life. -- When Linvala enters, if an opponent controls more creatures than you, put a 3/3 white Angel creature token with flying onto the battlefield.
mana={4}{W}{W}
type=Legendary Creature
@@ -81364,7 +81364,7 @@ type=Legendary Enchantment
[/card]
[card]
name=Oath of Lieges
auto=@each my upkeep:if type(land|mybattlefield)~lessthan~type(land|opponentbattlefield) then target(land[basic]|mylibrary) moveTo(mybattlefield)
auto=@each my upkeep:if control less lands then target(land[basic]|mylibrary) moveTo(mybattlefield)
auto=@each opponent upkeep:if type(land|opponentbattlefield)~lessthan~type(land|mybattlefield) then ability$!name(fetch basic land) target(land[basic]|mylibrary) moveTo(mybattlefield)!$ opponent
text=At the beginning of each player's upkeep, that player chooses target player who controls more lands than they does and is their opponent. The first player may search their library for a basic land card, put that card onto the battlefield, then shuffle their library.
mana={1}{W}
@@ -89673,7 +89673,7 @@ type=Instant
[card]
name=Pulse of the Tangle
auto=_BEASTTOKEN_
auto=if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then moveto(ownerHand)
auto=if control less creatures then moveto(ownerHand)
text=Put a 3/3 green Beast creature token onto the battlefield. Then if an opponent controls more creatures than you, return Pulse of the Tangle to its owner's hand.
mana={1}{G}{G}
type=Sorcery
@@ -94506,9 +94506,9 @@ toughness=1
[/card]
[card]
name=Restore Balance
auto=if type(land|mybattlefield)~morethan~type(land|opponentbattlefield) then ability$! sacrifice notatarget(<type:land:mybattlefieldminustype:land:opponentbattlefieldminusend>land|mybattlefield) !$ controller
auto=if control more lands then ability$! sacrifice notatarget(<type:land:mybattlefieldminustype:land:opponentbattlefieldminusend>land|mybattlefield) !$ controller
auto=if type(land|opponentbattlefield)~morethan~type(land|mybattlefield) then ability$! sacrifice notatarget(<type:land:mybattlefieldminustype:land:opponentbattlefieldminusend>land|mybattlefield) !$ opponent
auto=if type(creature|mybattlefield)~morethan~type(creature|opponentbattlefield) then ability$! sacrifice notatarget(<type:creature:mybattlefieldminustype:creature:opponentbattlefieldminusend>creature|mybattlefield) !$ controller
auto=if control more creatures then ability$! sacrifice notatarget(<type:creature:mybattlefieldminustype:creature:opponentbattlefieldminusend>creature|mybattlefield) !$ controller
auto=if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then ability$! sacrifice notatarget(<type:creature:mybattlefieldminustype:creature:opponentbattlefieldminusend>creature|mybattlefield) !$ opponent
auto=if type(*|myhand)~morethan~type(*|opponenthand) then ability$! reject notatarget(<type:*:myhandminustype:*:opponenthandminusend>*|myhand) !$ controller
auto=if type(*|opponenthand)~morethan~type(*|myhand) then ability$! reject notatarget(<type:*:myhandminustype:*:opponenthandminusend>*|myhand) !$ opponent
@@ -96025,7 +96025,7 @@ type=Sorcery
[/card]
[card]
name=Rivalry
auto=@each my upkeep:if type(land|mybattlefield)~morethan~type(land|opponentbattlefield) then damage:2 controller
auto=@each my upkeep:if control more lands then damage:2 controller
auto=@each opponent upkeep:if type(land|opponentbattlefield)~morethan~type(land|mybattlefield) then damage:2 opponent
text=At the beginning of each player's upkeep, if that player controls more lands than each other player, Rivalry deals 2 damage to him or her.
mana={2}{R}
@@ -116426,7 +116426,7 @@ type=Sorcery
[card]
name=Swarmborn Giant
auto=@combatdamageof(player):sacrifice all(this)
auto=this(cantargetcard(*[-monstrous]) {4}{G}{G}:becomes(monstrous) forever && counter(1/1,2) && transforms((,newability[reach])) forever
auto=this(cantargetcard(*[-monstrous]) {4}{G}{G}:becomes(monstrous) forever && counter(1/1,2) && transforms((,reach)) forever
text=When you're dealt combat damage, sacrifice Swarmborn Giant. -- {4}{G}{G}: Monstrosity 2. (If this creature isn't monstrous, put two +1/+1 counters on it and it becomes monstrous.) -- As long as Swarmborn Giant is monstrous, it has reach.
mana={2}{G}{G}
type=Creature
@@ -122094,9 +122094,9 @@ toughness=1
[/card]
[card]
name=Tithe
aicode=activate transforms((,newability[if type(land|mybattlefield)~lessthan~type(land|opponentbattlefield) then moveto(ownerHand) notatarget(<upto:2>plains|mylibrary) else moveto(ownerHand) notatarget(plains|mylibrary)])) ueot
auto=if type(land|mybattlefield)~lessthan~type(land|opponentbattlefield) then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<upto:2>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=ifnot type(land|mybattlefield)~lessthan~type(land|opponentbattlefield) then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<upto:1>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
aicode=activate transforms((,newability[if control less lands then moveto(ownerHand) notatarget(<upto:2>plains|mylibrary) else moveto(ownerHand) notatarget(plains|mylibrary)])) ueot
auto=if control less lands then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<upto:2>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=ifnot control less lands then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<upto:1>plains|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=Search your library for a Plains card. If you control fewer lands than an opponent, you may search your library for an additional Plains card. Reveal those cards and put them into your hand. Then shuffle.
mana={W}
type=Instant
@@ -126062,7 +126062,7 @@ type=Instant
[card]
name=Unified Will
target=*|stack
auto=if type(creature|mybattlefield)~morethan~type(creature|opponentbattlefield) then fizzle
auto=if control more creatures then fizzle
text=Counter target spell if you control more creatures than that spell's controller.
mana={1}{U}
type=Instant