Fixed some primitives from issue #1085

This commit is contained in:
Vittorio Alfieri
2023-07-28 15:31:05 +02:00
parent 332f0542f7
commit 94fb44d1eb
2 changed files with 100 additions and 75 deletions
+37 -12
View File
@@ -1,6 +1,6 @@
#Primitives Pack for Wagic the Homebrew.
#Please keep these card alphabetized, and try to have the "name=" line at the top of each card
#I sorted this programmatically so the other comments are removed except for AUTO_DEFINE - Vitty85 27-07-2023
#I sorted this programmatically so the other comments are removed except for AUTO_DEFINE - Vitty85 28-07-2023
[card]
name=Abandon Reason
target=<upto:2>creature
@@ -67705,7 +67705,10 @@ subtype=Aura
[/card]
[card]
name=Living Death
auto=all(creature|battlefield) becomes(deadtemp) && all(creature|graveyard) moveto(exile) and!(transforms((,newability[sacrifice all(deadtemp)],newability[moveto(battlefield)])))! oneshot
auto=if type(creature|mygraveyard)~morethan~0 then all(creature|mybattlefield) becomes(deadtemp) ueot && all(creature|mygraveyard) moveto(myexile) and!( transforms((,newability[sacrifice all(deadtemp)],newability[moveto(ownerbattlefield)])) oneshot )!
auto=if type(creature|mygraveyard)~equalto~0 then all(creature|mybattlefield) sacrifice
auto=if type(creature|opponentgraveyard)~morethan~0 then all(creature|opponentbattlefield) becomes(deadtemp) ueot && all(creature|opponentgraveyard) moveto(opponentexile) and!( transforms((,newability[sacrifice all(deadtemp)],newability[moveto(ownerbattlefield)])) oneshot )!
auto=if type(creature|opponentgraveyard)~equalto~0 then all(creature|opponentbattlefield) sacrifice
text=Each player exiles all creature cards from his or her graveyard, then sacrifices all creatures he or she controls, then puts all cards he or she exiled this way onto the battlefield.
mana={3}{B}{B}
type=Sorcery
@@ -68430,7 +68433,27 @@ toughness=2
[/card]
[card]
name=Loreseeker's Stone
auto={3}{value:type:*:myhand cdaactive}{T}:draw:3 controller
auto=this(variable{type:*:myhand}=0) {3}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=1) {4}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=2) {5}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=3) {6}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=4) {7}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=5) {8}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=6) {9}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=7) {10}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=8) {11}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=9) {12}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=10) {13}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=11) {14}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=12) {15}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=13) {16}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=14) {17}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=15) {18}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=16) {19}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=17) {20}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=18) {21}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}=19) {22}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
auto=this(variable{type:*:myhand}>=20) {23}{T}:name(Draw 3 cards) name(Draw 3 cards) draw:3 controller
text={3}, {T}: Draw three cards. This ability costs {1} more to activate for each card in your hand.
mana={6}
type=Artifact
@@ -72647,7 +72670,7 @@ type=Sorcery
[card]
name=Memory's Journey
target=player
auto=ability$!choice name(shuffle back) target(<upto:3>*|mygraveyard) moveTo(ownerlibrary) && shuffle!$ targetedplayer
auto=ability$!may name(Shuffle 3 cards) name(Shuffle 3 cards) target(<upto:3>*|mygraveyard) moveto(ownerlibrary) and!( shuffle)!!$ targetedplayer
flashback={G}
text=Target player shuffles up to three target cards from his or her graveyard into his or her library. -- Flashback {G} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={1}{U}
@@ -75132,7 +75155,7 @@ toughness=6
[/card]
[card]
name=Mistform Sliver
auto=lord(sliver) {1}:activatechooseatype all(this) becomes(removecreaturesubtypes) && becomes(chosentype) ueot activatechooseend
auto=lord(sliver|battlefield) transforms((,newability[{1}:activatechooseatype all(this) becomes(chosentype) ueot activatechooseend]))
text=All Slivers have "{1}: This permanent becomes the creature type of your choice in addition to its other types until end of turn."
mana={1}{U}
type=Creature
@@ -75275,8 +75298,8 @@ type=Land
[/card]
[card]
name=Mitotic Manipulation
aicode=activate choice bottomoflibrary all(*[zpos<=7]|mylibrary)
auto=reveal:7 optionone name(Get a card with same name) target(*|reveal) aslongas(*[share!name!]|battlefield) moveTo(mybattlefield) optiononeend optiontwo name(put on bottom) target(<7>*|reveal) bottomoflibrary optiontwoend revealend
aicode=activate transforms((,newability[target(*[zpos<=7]|mylibrary) transforms((,newability[if type(*[share!name!]|battlefield)~morethan~0 then moveto(mybattlefield) and!( all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!],newability[if type(*[share!name!]|battlefield)~equalto~0 then all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) ueot])) ueot
auto=name(Look top 7 cards) reveal:7 optionone name(Get a card with same name) target(<upto:1>*|reveal) moveTo(mylibrary) and!( transforms((,newability[if type(*[share!name!]|battlefield)~morethan~0 then becomes(tobemit) ueot])) ueot )! optiononeend optiontwo name(Put on bottom) target(<7>*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobemit|mylibrary) moveto(mybattlefield) afterrevealedend revealend
text=Look at the top seven cards of your library. You may put one of those cards onto the battlefield if it has the same name as a permanent. Put the rest on the bottom of your library in any order.
mana={1}{U}{U}
type=Sorcery
@@ -77469,8 +77492,10 @@ type=Sorcery
[/card]
[card]
name=Mwonvuli Beast Tracker
aicode=activate target(creature[deathtouch;opponentshroud;reach;trample]|mylibrary) moveto(mylibrary) and!(moveto(mylibrary))!
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature[deathtouch;opponentshroud;reach;trample]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mylibrary)])) optiononeend optiontwo bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
auto=if type(creature[trample]|mylibrary)~morethan~0 then choice name(Search creature with trample) name(Search creature with trample) target(creature[trample]|mylibrary) moveto(myreveal) and!( moveto(mylibrary) )!
auto=if type(creature[reach]|mylibrary)~morethan~0 then choice name(Search creature with reach) name(Search creature with reach) target(creature[reach]|mylibrary) moveto(myreveal) and!( moveto(mylibrary) )!
auto=if type(creature[opponentshroud]|mylibrary)~morethan~0 then choice name(Search creature with hexproof) name(Search creature with hexproof) target(creature[opponentshroud]|mylibrary) moveto(myreveal) and!( moveto(mylibrary) )!
auto=if type(creature[deathtouch]|mylibrary)~morethan~0 then choice name(Search creature with deathtouch) name(Search creature with deathtouch) target(creature[deathtouch]|mylibrary) moveto(myreveal) and!( moveto(mylibrary) )!
text=When Mwonvuli Beast Tracker enters the battlefield, search your library for a creature card with deathtouch, hexproof, reach, or trample and reveal it. Shuffle your library and put that card on top of it.
mana={1}{G}{G}
type=Creature
@@ -77714,9 +77739,9 @@ toughness=1
[/card]
[card]
name=Myr Prototype
auto=@each my upkeep:counter(1/1)
auto=attackcost:counter{1%1}
auto=blockcost:counter{1%1}
auto=@each my upkeep:name(Put 1/1 counter) counter(1/1)
auto=@counteradded(1/1) from(this):name(Change attack and block cost) transforms((,newability[attackcost:1],newability[blockcost:1])) forever
auto=@counterremoved(1/1) from(this):name(Change attack and block cost) transforms((,newability[attackcost:-1],newability[blockcost:-1])) forever
text=At the beginning of your upkeep, put a +1/+1 counter on Myr Prototype. -- Myr Prototype can't attack or block unless you pay {1} for each +1/+1 counter on it.
mana={5}
type=Artifact Creature