Fixed some primitives from issue #1085, fixed some primitives from Discord channel.

This commit is contained in:
Vittorio Alfieri
2023-07-26 17:05:14 +02:00
parent 816c42b63b
commit 29262b4c78
3 changed files with 30 additions and 32 deletions

View File

@@ -1,7 +1,7 @@
grade=borderline
#Bordeline 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 - Thanks to Vitty85 25-07-2023
#I sorted this programmatically - Thanks to Vitty85 26-07-2023
[card]
name=+2 Mace
auto={3}:equip
@@ -42188,8 +42188,8 @@ type=Artifact
[/card]
[card]
name=Guild Summit
auto=(<anyamount>gate[-tapped]|myBattlefield) draw:1
auto=@movedTo(*[Gate]|myBattlefield):draw:1
auto=may name(Tap gates) target(<anyamount>gate[-tapped]|myBattlefield) tap && draw:1 controller
auto=@movedTo(*[gate]|myBattlefield):name(Draw a card) draw:1 controller
text=When Guild Summit enters the battlefield, you may tap any number of untapped Gates you control. Draw a card for each Gate tapped this way. -- Whenever a Gate enters the battlefield under your control, draw a card.
mana={2}{U}
type=Enchantment
@@ -50516,13 +50516,7 @@ toughness=2
[/card]
[card]
name=Jack-in-the-Mox
auto={T}:all(this) rolld6 6 winability counter(0/0,1,JackEffect) winabilityend loseability counter(0/0,1,JackEffect) loseabilityend rolld6end
auto=@dierolled(this) result(1) from(controller):this(counter{0/0.1.JackEffect}=1) name(Sacrifice Jack-in-the-Mox) name(Sacrifice Jack-in-the-Mox) sacrifice && counter(0/0,-1,JackEffect) all(this)
auto=@dierolled(this) result(2) from(controller):this(counter{0/0.1.JackEffect}=1) name(Add white mana) name(Add white mana) add{W} && counter(0/0,-1,JackEffect) all(this)
auto=@dierolled(this) result(3) from(controller):this(counter{0/0.1.JackEffect}=1) name(Add blue mana) name(Add blue mana) add{U} && counter(0/0,-1,JackEffect) all(this)
auto=@dierolled(this) result(4) from(controller):this(counter{0/0.1.JackEffect}=1) name(Add black mana) name(Add black mana) add{B} && counter(0/0,-1,JackEffect) all(this)
auto=@dierolled(this) result(5) from(controller):this(counter{0/0.1.JackEffect}=1) name(Add red mana) name(Add red mana) add{R} && counter(0/0,-1,JackEffect) all(this)
auto=@dierolled(this) result(6) from(controller):this(counter{0/0.1.JackEffect}=1) name(Add green mana) name(Add green mana) add{G} && counter(0/0,-1,JackEffect) all(this)
auto={T}:name(Roll a die) all(this) rolld6 1 winability transforms((,newability[sacrifice],newability[life:-5 controller])) oneshot winabilityend loseability if compare(lastrollresult)~equalto~2 then add{W} else if compare(lastrollresult)~equalto~3 then add{U} else if compare(lastrollresult)~equalto~4 then add{B} else if compare(lastrollresult)~equalto~5 then add{R} else if compare(lastrollresult)~equalto~6 then add{G} loseabilityend rolld6end
text={T}: Roll a six-sided die for Jack-in-the-Mox. On a 1, sacrifice Jack-in-the-Mox and lose 5 life. Otherwise, Jack-in-the-Mox has one of the following effects. Treat this ability as a mana source. -- 2 Add {W} to your mana pool. -- 3 Add {U} to your mana pool. -- 4 Add {B} to your mana pool. -- 5 Add {R} to your mana pool. -- 6 Add {G} to your mana pool.
mana={0}
type=Artifact
@@ -50868,10 +50862,11 @@ type=Instant
[/card]
[card]
name=Jaya's Immolating Inferno
target=<upto:3>*
auto=damage:x
restriction=type(legendary[creature]|mybattlefield)~morethan~0,type(legendary[planeswalker]|mybattlefield)~equalto~0
otherrestriction=type(legendary[planeswalker]|mybattlefield)~morethan~0,type(legendary[creature]|mybattlefield)~equalto~0
other={X}{R}{R}
auto=target(<upto:3>anytarget) damage:fullpaid
text=(You may cast a legendary sorcery only if you control a legendary creature or planeswalker.) -- Jaya's Immolating Inferno deals X damage to each of up to three targets.
restriction=type(legendary[-artifact;-enchantment;-land]|mybattlefield)~morethan~0
mana={X}{R}{R}
type=Legendary Sorcery
[/card]
@@ -55544,8 +55539,8 @@ type=Instant
[/card]
[card]
name=Ledev Champion
auto=_ATTACKING_(<anyamount>creature[-tapped]|mybattlefield) 1/1
auto={3}{G}{W}:create(soldier:creature soldier:1/1:white:lifelink)
auto=_ATTACKING_may name(Tap creatures) target(<anyamount>creature[-tapped]|mybattlefield) tap && all(this) 1/1 ueot
auto={3}{G}{W}:name(Create soldier) token(Soldier,Creature Soldier,1/1,white,lifelink)
text=Whenever Ledev Champion attacks, you may tap any number of untapped creatures you control. Ledev Champion gets +1/+1 until end of turn for each creature tapped this way. -- {3}{G}{W}: Create a 1/1 white Soldier creature token with lifelink.
mana={1}{G}{W}
type=Creature
@@ -80393,10 +80388,11 @@ toughness=4
[/card]
[card]
name=Rosie Cotton of South Lane
auto=token(Food) and!( name(Put 1/1 counter) target(other creature|myBattlefield) counter(1/1) )!
#This card has been modded in order to allow specific combo when AI is using it, this mod is not effecting card when it is useb by a Human player.
auto=if compare(ishuman)~morethan~0 then name(Create food) name(Create food) token(Food) and!( name(Put 1/1 counter) target(other creature|myBattlefield) counter(1/1) )!
auto=if compare(ishuman)~equalto~0 then transforms((,newability[if type(Scurry Oak|mybattlefield)~equalto~0 then token(Food) and!( name(Put 1/1 counter) target(other creature|myBattlefield) counter(1/1) )!],newability[if type(Scurry Oak|mybattlefield)~morethan~0 then if type(Shalai and Hallar|mybattlefield)~equalto~0 then token(Food) and!( name(Put 1/1 counter) target(other creature|myBattlefield) counter(1/1) )!],newability[if type(Scurry Oak|mybattlefield)~morethan~0 then if type(Shalai and Hallar|mybattlefield)~morethan~0 then token(Food) and!( name(Put 1/1 counter) target(Scurry Oak|myBattlefield) counter(1/1) )!])) oneshot
auto=@tokencreated(*|myBattlefield) restriction{compare(ishuman)~morethan~0}:name(Put 1/1 counter) name(Put 1/1 counter) target(other creature|myBattlefield) counter(1/1)
auto=@tokencreated(*|myBattlefield) restriction{compare(ishuman)~equalto~0,type(Scurry Oak|mybattlefield)~equalto~0}:name(Put 1/1 counter) name(Put 1/1 counter) target(other creature|myBattlefield) counter(1/1)
auto=@tokencreated(*|myBattlefield) restriction{compare(ishuman)~equalto~0,type(Scurry Oak|mybattlefield)~morethan~0}:name(Put 1/1 counter) name(Put 1/1 counter) name(Put 1/1 counter) target(Scurry Oak|mybattlefield) counter(1/1)
auto=@tokencreated(*|myBattlefield) restriction{compare(ishuman)~equalto~0}:name(Put 1/1 counter) name(Put 1/1 counter) transforms((,newability[if type(Scurry Oak|mybattlefield)~equalto~0 then name(Put 1/1 counter) name(Put 1/1 counter) target(other creature|myBattlefield) counter(1/1)],newability[if type(Scurry Oak|mybattlefield)~morethan~0 then if type(Shalai and Hallar|mybattlefield)~equalto~0 then name(Put 1/1 counter) name(Put 1/1 counter) name(Put 1/1 counter) target(other creature|myBattlefield) counter(1/1)],newability[if type(Scurry Oak|mybattlefield)~morethan~0 then if type(Shalai and Hallar|mybattlefield)~morethan~0 then name(Put 1/1 counter) name(Put 1/1 counter) name(Put 1/1 counter) target(Scurry Oak|myBattlefield) counter(1/1)])) oneshot
text=When Rosie Cotton of South Lane enters the battlefield, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -- Whenever you create a token, put a +1/+1 counter on target creature you control other than Rosie.
mana={2}{W}
type=Legendary Creature
@@ -86901,7 +86897,7 @@ toughness=4
[card]
name=Siege Striker
abilities=double strike
auto=_ATTACKING_foreach(creature[-tapped]|mybattlefield) may target(creature[-tapped]|mybattlefield) tap && all(this) 1/1 ueot
auto=_ATTACKING_may name(Tap creatures) target(<anyamount>creature[-tapped]|mybattlefield) tap && all(this) 1/1 ueot
text=Double strike (This creature deals both first-strike and regular combat damage.) -- Whenever Siege Striker attacks, you may tap any number of untapped creatures you control. Siege Striker gets +1/+1 until end of turn for each creature tapped this way.
mana={2}{W}
type=Creature