Added / fixed primitives from NEO set, improved Android downloader for token images, fixed a problem with castcard copied option for permanents, fixed a bug on colorless mana calculation for AI during combo.

This commit is contained in:
Vittorio Alfieri
2023-06-20 17:29:44 +02:00
parent 721a3edefb
commit f9bcaf53c2
5 changed files with 409 additions and 148 deletions

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 18-06-2023
#I sorted this programmatically so the other comments are removed except for AUTO_DEFINE - Vitty85 20-06-2023
[card]
name=Abandon Reason
target=<upto:2>creature
@@ -45274,8 +45274,9 @@ toughness=0
[/card]
[card]
name=Genesis Wave
aicode=activate transforms((,newability[all(*[manacost>=fullpaidplus1plusend&zpos<=fullpaid]|myLibrary) moveto(mygraveyard)],newability[all(*[manacost<=fullpaid&zpos<=fullpaid]|myLibrary) moveto(myreveal) and!( transforms((,newability[if cantargetcard(*[-instant&-sorcery]|*) then moveto(myBattlefield) else moveto(mygraveyard)])) oneshot )!])) oneshot
auto=name(Reveal X cards) reveal:X optionone name(Get any permanent) target(<anyamount>*[manacost<=x&-instant&-sorcery]|reveal) moveto(mybattlefield) optiononeend optiontwo choice name(Discard the rest) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
mana={X}{G}{G}{G}
auto=name(Reveal X cards) reveal:X optionone name(Get Any Cards) target(<anyamount>*[manacost<=x]|reveal) moveto(mybattlefield) optiononeend optiontwo choice name(Discard the rest) all(*|reveal) moveto(mygraveyard) optiontwoend revealend
type=Sorcery
text=Reveal the top X cards of your library. You may put any number of permanent cards with mana value X or less from among them onto the battlefield. Then put all cards revealed this way that weren't put onto the battlefield into your graveyard.
[/card]