Added TSR and HA4 sets, added/fixed primitives, improved Android downloader, fixed a crash when AI pays a Convoke alternative cost, fixed a random crash on Windows when opening zip files, fixed a random crash in destroy ability method (e.g. blasphemous act).

This commit is contained in:
Vittorio Alfieri
2021-03-09 19:07:31 +01:00
parent 2abb218164
commit 37ce334688
8 changed files with 2470 additions and 58 deletions

View File

@@ -1273,6 +1273,21 @@ power=1
toughness=1
[/card]
[card]
name=Ana Battlemage
abilities=hasotherkicker
other={2}{U} name(Kicker blue)
kicker={1}{B} name(Kicker black or both)
auto=if paid(alternative) then target(player) ability$!name(Discard 3 cards) name(Discard 3 cards) target(<3>*|myhand) reject!$ targetedplayer
auto=if paid(kicker) then ability$!name(Tap creature) name(Tap creature) target(creature[-tapped]|battlefield) transforms((,newability[tap],newability[damage:power controller])) oneshot!$ controller
auto=if paid(kicker) then pay({2}{U}) name(Pay also kicker blue) target(player) ability$!name(Discard 3 cards) name(Discard 3 cards) target(<3>*|myhand) reject!$ targetedplayer
text=Kicker {2}{U} and/or {1}{B} (You may pay an additional {2}{U} and/or {1}{B} as you cast this spell.) -- When Ana Battlemage enters the battlefield, if it was kicked with its {2}{U} kicker, target player discards three cards. -- When Ana Battlemage enters the battlefield, if it was kicked with its {1}{B} kicker, tap target untapped creature and that creature deals damage equal to its power to its controller.
mana={2}{G}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Anara, Wolvid Familiar
abilities=partner
auto=this(variable{controllerturn}>0) lord(*[iscommander]|mybattlefield) indestructible
@@ -1448,8 +1463,8 @@ toughness=6
[/card]
[card]
name=Angel of Grace
abilities=flash, flying
auto=this(controllerlife >= 1) transforms((,newability[reduceto:1])) ueot
abilities=flash,flying
auto=this(controllerlife >= 1) transforms((,newability[reduceto:1]))
autograveyard={4}{W}{W}{E}:lifeset:10
text=Flash -- Flying -- When Angel of Grace enters the battlefield, until end of turn, damage that would reduce your life total to less than 1 reduces it to 1 instead. -- {4}{W}{W}, Exile Angel of Grace from your graveyard: Your life total becomes 10.
mana={3}{W}{W}
@@ -1522,6 +1537,15 @@ power=4
toughness=4
[/card]
[card]
name=Angel's Grace
abilities=split second
auto=all(*|mybattlefield) transforms((,newability[this(controllerlife >= 1) transforms((,newability[reduceto:1]))],newability[cantlose])) ueot
auto=all(*|opponentbattlefield) transforms((,newability[cantwin])) ueot
text=Split second (As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.) -- You can't lose the game this turn and your opponents can't win the game this turn. Until end of turn, damage that would reduce your life total to less than 1 reduces it to 1 instead.
mana={W}
type=Instant
[/card]
[card]
name=Angel's Trumpet
auto=lord(creature) transforms((,newability[vigilance],newability[@each my end restriction{didntattack}:tap(noevent) && damage:1 controller]))
text=All creatures have vigilance. -- At the beginning of each player's end step, tap all untapped creatures that player controls that didn't attack this turn. Angel's Trumpet deals damage to the player equal to the number of creatures tapped this way.
@@ -4522,6 +4546,16 @@ mana={2}{G}
type=Sorcery
[/card]
[card]
name=Benediction of Moons
abilities=exiledeath
auto=life:2 controller
auto=name(Haunt a creature) target(creature) counter(0/0.1.MoonsHaunted)
autoexile=@movedto(creature[counter{0/0.1.MoonsHaunted}]|graveyard) from(battlefield):life:2 controller
text=You gain 1 life for each player. -- Haunt (When this spell card is put into a graveyard after resolving, exile it haunting target creature.) -- When the creature Benediction of Moons haunts dies, you gain 1 life for each player.
mana={W}
type=Sorcery
[/card]
[card]
name=Benefaction of Rhonas
aicode=activate transforms((,newability[if type(*[creature;enchantment;zpos<=5]|mylibrary)~equalto~0 then all(*[zpos<=5]|mylibrary) moveto(mygraveyard) else target(*[zpos<=1]|mylibrary) transforms((,newability[target(*[creature;enchantment;zpos<=5]|mylibrary) moveto(myhand) and!( all(*[zpos<=5]|mylibrary) moveto(mygraveyard) )!])) oneshot])) oneshot
auto=if type(creature[zpos<=5]|mylibrary)~morethan~0 then if type(enchantment[zpos<=5]|mylibrary)~morethan~0 then name(Look top 5 cards) name(Look top 5 cards) name(Look top 5 cards) reveal:5 optionone name(Choose creature) target(creature|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Choose enchantment) target(enchantment|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot && all(*|reveal) moveto(mygraveyard) )! optiontwoend afterrevealed all(tobecast|mylibrary) transforms((,newability[if cantargetcard(*[creature]|*) then choice name(Put creature in hand) name(Put creature in hand) moveto(myhand)],newability[if cantargetcard(*[creature]|*) then choice name(Put creature in graveyard) name(Put creature in graveyard) donothing],newability[if cantargetcard(*[enchantment]|*) then choice name(Put enchantment in hand) name(Put enchantment in hand) moveto(myhand)],newability[if cantargetcard(*[enchantment]|*) then choice name(Put enchantment in graveyard) name(Put enchantment in graveyard) moveto(mygraveyard)])) oneshot afterrevealedend revealend
@@ -4706,6 +4740,13 @@ mana={4}{G}{G}
type=Sorcery
[/card]
[card]
name=Bioshift
auto=target(creature[counter{1/1}|battlefield) transforms((,newability[thisforeach(counter{1/1.1}) may name(Move 1/1 counter) counter(1/1.-1) all(this) && counter(1/1) target(other creature|mybattlefield)])) oneshot
text=Move any number of +1/+1 counters from target creature onto another target creature with the same controller.
mana={GU}
type=Instant
[/card]
[card]
name=Biowaste Blob
auto=lord(*[ooze]|mybattlefield) 1/1
auto=@each my upkeep restriction{type(*[iscommander]|myBattlefield)~morethan~0}:clone all(this)
@@ -46957,8 +46998,8 @@ type=Land
[card]
name=Silundi Vision
autohand={0}:restriction{can play land} name(Silundi Isle) name(Silundi Isle) flip(Silundi Isle) forcetype(land)
aicode=activate target(instant,sorcery[zpos<=6]|mylibrary) moveto(myhand)
auto=name(Reveal 6 cards) reveal:6 optionone name(Get instant or sorcery) target(instant,sorcery|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend
aicode=activate target(*[instant;sorcery;zpos<=6]|mylibrary) moveto(myhand)
auto=name(Reveal 6 cards) reveal:6 optionone name(Get instant or sorcery) target(<upto:1>*[instant;sorcery]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend
text=Look at the top six cards of your library. You may reveal an instant or sorcery card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
mana={2}{U}
type=Instant

View File

@@ -279,21 +279,6 @@ mana={2}
type=Artifact
[/card]
[card]
name=Ana Battlemage
text=Kicker {2}{U} and/or {1}{B} (You may pay an additional {2}{U} and/or {1}{B} as you cast this spell.) -- When Ana Battlemage enters the battlefield, if it was kicked with its {2}{U} kicker, target player discards three cards. -- When Ana Battlemage enters the battlefield, if it was kicked with its {1}{B} kicker, tap target untapped creature and that creature deals damage equal to its power to its controller.
mana={2}{G}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Angel's Grace
text=Split second (As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.) -- You can't lose the game this turn and your opponents can't win the game this turn. Until end of turn, damage that would reduce your life total to less than 1 reduces it to 1 instead.
mana={W}
type=Instant
[/card]
[card]
name=Animate Library
text=Enchant your library -- Enchanted library is an artifact creature on the battlefield with power and toughness each equal to the number of cards in it. It's still a library. -- If enchanted library would leave the battlefield, exile Animate Library instead.
mana={4}{U}{U}
@@ -765,13 +750,6 @@ power=3
toughness=3
[/card]
[card]
name=Barrel Down Sokenzan
text=Sweep — Return any number of Mountains you control to their owner's hand. Barrel Down Sokenzan deals damage to target creature equal to twice the number of Mountains returned this way.
mana={2}{R}
type=Instant
subtype=Arcane
[/card]
[card]
name=Barrin's Unmaking
text=Return target permanent to its owner's hand if that permanent shares a color with the most common color among all permanents or a color tied for most common.
mana={1}{U}
@@ -872,12 +850,6 @@ mana={3}{R}
type=Sorcery
[/card]
[card]
name=Benediction of Moons
text=You gain 1 life for each player. -- Haunt (When this spell card is put into a graveyard after resolving, exile it haunting target creature.) -- When the creature Benediction of Moons haunts dies, you gain 1 life for each player.
mana={W}
type=Sorcery
[/card]
[card]
name=Benevolent Unicorn
text=If a spell would deal damage to a creature or player, it deals that much damage minus 1 to that creature or player instead.
mana={1}{W}
@@ -917,12 +889,6 @@ power=4
toughness=4
[/card]
[card]
name=Bioshift
text=Move any number of +1/+1 counters from target creature onto another target creature with the same controller.
mana={GU}
type=Instant
[/card]
[card]
name=Bite of the Black Rose
text=Will of the council — Starting with you, each player votes for sickness or psychosis. If sickness gets more votes, creatures your opponents control get -2/-2 until end of turn. If psychosis gets more votes or the vote is tied, each opponent discards two cards.
mana={3}{B}