Fixed some primitives from issue #1085 and from Discord channel, updated some AI decks.

This commit is contained in:
Vittorio Alfieri
2023-07-17 17:40:50 +02:00
parent fbfcb7d3ac
commit 8c5a089448
5 changed files with 390 additions and 96 deletions
+10 -7
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 13-07-2023
#I sorted this programmatically so the other comments are removed except for AUTO_DEFINE - Vitty85 17-07-2023
[card]
name=Abandon Reason
target=<upto:2>creature
@@ -28568,9 +28568,9 @@ type=Sorcery
name=Depala, Pilot Exemplar
auto=lord(other dwarf|mybattlefield) 1/1
auto=lord(creature[vehicle]|mybattlefield) 1/1
aicode=activate target(<x>*[zpos<=x]|mylibrary) name(revealed card) moveto(myhand) name(revealed card) and!(if cantargetcard(*[-dwarf;-vehicle]|*) then bottomoflibrary)!
auto=@tapped(this):may pay({1}) name(Pay 1) Reveal:1 revealzone(mylibrary) optionone all(*[dwarf;vehicle]|reveal) moveto(ownerhand) optiononeend optiontwo all(*|reveal) bottomoflibrary optiontwoend revealend
text=Other Dwarves you control get +1/+1. -- Each Vehicle you control gets +1/+1 as long as it's a creature. -- Whenever Depala, Pilot Exemplar becomes tapped, you may pay {X}. If you do, reveal the top X cards of your library, put all Dwarf and Vehicle cards from among them into your hand, then put the rest on the bottom of your library in a random order. --
aicode=activate target(<x>*[zpos<=x]|mylibrary) moveto(myhand) and!( if cantargetcard(*[-dwarf&-vehicle]|*) then bottomoflibrary )!
auto=@tapped(this):may name(Pay and reveal) pay({X}) name(Pay and reveal) reveal:x optionone name(Get dwarves and vehicles) target(<x>*[dwarf;vehicle]|reveal) moveto(ownerhand) optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend revealend
text=Other Dwarves you control get +1/+1. -- Each Vehicle you control gets +1/+1 as long as it's a creature. -- Whenever Depala, Pilot Exemplar becomes tapped, you may pay {X}. If you do, reveal the top X cards of your library, put all Dwarf and Vehicle cards from among them into your hand, then put the rest on the bottom of your library in a random order.
mana={1}{R}{W}
type=Legendary Creature
subtype=Dwarf Pilot
@@ -28705,7 +28705,8 @@ toughness=3
[/card]
[card]
name=Descendants' Path
auto=@each my upkeep:reveal:1 optionone name(Reveal)if type(creature|reveal)~morethan~0 then name(Check to cast) target(creature|reveal) transforms((,newability[if type(*[share!types!]|mybattlefield)~morethan~0 then castcard(putinplay)])) forever else name(not a creature) target(*|reveal) donothing optiononeend optiontwo choice all(*|reveal) bottomoflibrary optiontwoend revealend
aicode=activate transforms((,newability[if type(creature[zpos=1]|mylibrary)~equalto~0 then all(*|mylibrary) moveto(myreveal) and!( bottomoflibrary )!],newability[if type(creature[zpos=1]|mylibrary)~morethan~0 then target(creature[zpos=1]|mylibrary) moveto(myreveal) and!( bottomoflibrary and!( transforms((,newability[if type(*[creature;share!types!]|mybattlefield)~morethan~0 then activate castcard(normal)])) oneshot )! )!])) oneshot
auto=@each my upkeep:name(Look top card) reveal:1 optionone name(Choose a creature) target(*[creature]|reveal) bottomoflibrary and!( becomes(tobede) ueot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary optiontwoend optiontwoend afterrevealed all(tobede|mylibrary) transforms((,newability[if type(*[creature;share!types!]|mybattlefield)~morethan~0 then choice name(Cast creature) name(Cast creature) activate castcard(normal)],newability[choice name(Don't cast creature) losesatype(tobede)])) oneshot afterrevealedend revealend
text=At the beginning of your upkeep, reveal the top card of your library. If it's a creature card that shares a creature type with a creature you control, you may cast that card without paying its mana cost. Otherwise, put that card on the bottom of your library.
mana={2}{G}
type=Enchantment
@@ -30215,7 +30216,7 @@ text=Whenever a permanent deals damage to you, return it to its owner's hand.
name=Dissolve
target=*|stack
auto=fizzle
aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot
aicode=activate transforms((,newability[donothing])) oneshot
auto=_SCRY1_
text=Counter target spell. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)
mana={1}{U}{U}
@@ -32388,7 +32389,9 @@ toughness=3
[/card]
[card]
name=Drop of Honey
auto=@each my upkeep:bury notatarget(creature[power=power:lowest:creature:battlefield])
auto=@each my upkeep:name(Destroy creature) ability$!name(Destroy creature) name(Destroy creature) notatarget(creature[power=power:lowest:creature:battlefield]|battlefield) bury!$ controller
auto=@movedto(creature|nonbattlezone) from(battlefield):if type(creature|battlefield)~equalto~0 then name(Sacrifice) name(Sacrifice) sacrifice
auto=if type(creature|battlefield)~equalto~0 then name(Sacrifice) name(Sacrifice) sacrifice
text=At the beginning of your upkeep, destroy the creature with the least power. It can't be regenerated. If two or more creatures are tied for least power, you choose one of them. -- When there are no creatures on the battlefield, sacrifice Drop of Honey.
mana={G}
type=Enchantment