Added/fixed primitives, updated the "missing_cards_by_sets" folder.

This commit is contained in:
Vittorio Alfieri
2021-09-18 17:42:21 +02:00
parent f671f61713
commit 1306a43f33
8 changed files with 86 additions and 121 deletions

View File

@@ -2,8 +2,11 @@
## [master] (https://github.com/WagicProject/wagic/tree/master)
### 17/09/21
- *Committed:* Added/fixed primitives, updated the "missing_cards_by_sets" folder. ([Vitty85](https://github.com/Vitty85))
### 16/09/21
- *Committed:* Fixed primitives, improved sound tracks management, now it's possbile to add a custom tracks for Shop section (Track2.mp3), Option window (Track3.mp3) and Awards section (Track4.mp3) and it's also possible to add two subfolders "MainMenu" and "Battlefield" within "suound" folder where it's possbile to add twenty custom songs ("TrackMenuXX.mp3" and "TrackDuelXX.mp3") that will be played randomly in main menu windows and when match starts. ([Vitty85](https://github.com/Vitty85))
- *Committed:* Fixed primitives, improved sound tracks management, now it's possbile to add a custom tracks for Shop section (Track2.mp3), Option window (Track3.mp3) and Awards section (Track4.mp3) and it's also possible to add two subfolders "MainMenu" and "Battlefield" within "suound" folder where it's possbile to add twenty custom songs ("TrackMenuXX.mp3" and "TrackDuelXX.mp3") that will be played randomly in main menu windows and when match starts. https://github.com/WagicProject/wagic/commit/f671f617137ccd1b006428a188cd15f38e4795cd ([Vitty85](https://github.com/Vitty85))
### 13/09/21
- *Committed:* Fixed AFR, STA, STX and J21 sets, fixed "_PROLIFERATE_" macro and fixed primitives with "proliferate" ability, fixed all primitives with "mutate" ability, improved "proliferate" and "duplicatecounters" keywords, added a new target "permanent" to target togheter a player and permanents on battlefield (e.g. cards with "proliferate"). https://github.com/WagicProject/wagic/commit/2af470e42b9621a64373094db2ce454263d6bc51 ([Vitty85](https://github.com/Vitty85))

View File

@@ -43,9 +43,3 @@ subtype=Human Advisor
power=2
toughness=4
[/card]
[card]
name=Plasm Capture
text=Counter target spell. At the beginning of your next precombat main phase, add X mana in any combination of colors to your mana pool, where X is that spell's converted mana cost.
mana={G}{G}{U}{U}
type=Instant
[/card]

View File

@@ -1,6 +0,0 @@
[card]
name=Plasm Capture
text=Counter target spell. At the beginning of your next precombat main phase, add X mana in any combination of colors to your mana pool, where X is that spell's converted mana cost.
mana={G}{G}{U}{U}
type=Instant
[/card]

View File

@@ -20,12 +20,6 @@ mana={2}{R}
type=Enchantment
[/card]
[card]
name=Praetor's Grasp
text=Search target opponent's library for a card and exile it face down. Then that player shuffles his or her library. You may look at and play that card for as long as it remains exiled.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Omen Machine
text=Players can't draw cards. -- At the beginning of each player's draw step, that player exiles the top card of his or her library. If it's a land card, the player puts it onto the battlefield. Otherwise, the player casts it without paying its mana cost if able.
mana={6}

View File

@@ -12,50 +12,14 @@ mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Pollen Remedy
text=Kicker—Sacrifice a land. (You may sacrifice a land in addition to any other costs as you cast this spell.) -- Prevent the next 3 damage that would be dealt this turn to any number of target creatures and/or players, divided as you choose. If Pollen Remedy was kicked, prevent the next 6 damage this way instead.
mana={W}
type=Instant
[/card]
[card]
name=Keldon Twilight
text=At the beginning of each player's end step, if no creatures attacked this turn, that player sacrifices a creature he or she controlled since the beginning of the turn.
mana={1}{B}{R}
type=Enchantment
[/card]
[card]
name=Planeswalker's Mirth
text={3}{W}: Target opponent reveals a card at random from his or her hand. You gain life equal to that card's converted mana cost.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Planeswalker's Scorn
text={3}{B}: Target opponent reveals a card at random from his or her hand. Target creature gets -X/-X until end of turn, where X is the revealed card's converted mana cost. Activate this ability only any time you could cast a sorcery.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Planeswalker's Mischief
text={3}{U}: Target opponent reveals a card at random from his or her hand. If it's an instant or sorcery card, exile it. You may cast it without paying its mana cost for as long as it remains exiled. (If it has X in its mana cost, X is 0.) At the beginning of the next end step, if you haven't cast it, return it to its owner's hand. Activate this ability only any time you could cast a sorcery.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Planeswalker's Fury
text={3}{R}: Target opponent reveals a card at random from his or her hand. Planeswalker's Fury deals damage equal to that card's converted mana cost to that player. Activate this ability only any time you could cast a sorcery.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Goblin Game
text=Each player hides at least one item, then all players reveal them simultaneously. Each player loses life equal to the number of items he or she revealed. The player who revealed the fewest items then loses half his or her life, rounded up. If two or more players are tied for fewest, each loses half his or her life, rounded up.
mana={5}{R}{R}
type=Sorcery
[/card]
[card]
name=Planeswalker's Favor
text={3}{G}: Target opponent reveals a card at random from his or her hand. Target creature gets +X/+X until end of turn, where X is the revealed card's converted mana cost.
mana={2}{G}
type=Enchantment
[/card]

View File

@@ -5,12 +5,6 @@ mana={3}{R}
type=Sorcery
[/card]
[card]
name=Plague of Vermin
text=Starting with you, each player may pay any amount of life. Repeat this process until no one pays life. Each player puts a 1/1 black Rat creature token onto the battlefield for each 1 life he or she paid this way.
mana={6}{B}
type=Sorcery
[/card]
[card]
name=Strip Bare
text=Destroy all Auras and Equipment attached to target creature.
mana={W}

View File

@@ -20205,6 +20205,7 @@ type=Sorcery
[/card]
[card]
name=Essence Symbiote
abilities=iscommander
auto=@mutated(creature|mybattlefield):all(trigger[to]) counter(1/1)
auto=@mutated(creature|mybattlefield):life:2 controller
text=Whenever a creature you control mutates, put a +1/+1 counter on that creature and you gain 2 life.
@@ -35854,12 +35855,15 @@ toughness=6
[/card]
[card]
name=Kolaghan's Command
auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and discard card) name(Return creature and discard card) moveto(myhand) target(creature|mygraveyard) && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent
auto=if type(creature|mygraveyard)~morethan~0 then if type(artifact|battlefield)~morethan~0 then choice name(Return creature and destroy artifact) name(Return creature and destroy artifact) name(Return creature and destroy artifact) moveto(myhand) target(creature|mygraveyard) && ability$!name(Destroy artifact) name(Destroy artifact) destroy target(artifact)!$ controller
auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and deals damage) name(Return creature and deals damage) moveto(myhand) target(creature|mygraveyard) && ability$!name(Deals 2 damage) name(Deals 2 damage) damage:2 target(creature,player)!$ controller
auto=if type(artifact|battlefield)~morethan~0 then choice name(Discard card and destroy artifact) name(Discard card and destroy artifact) ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent && destroy target(artifact)
auto=choice name(Discard card and deals damage) ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent && damage:2 target(creature,player)
auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy artifact and deals damage) name(Destroy artifact and deals damage) destroy target(artifact) && ability$!name(Deals 2 damage) name(Deals 2 damage) damage:2 target(creature,player)!$ controller
auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and opponent discards) name(Return creature and opponent discards) target(creature|mygraveyard) moveto(myhand) && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent
auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and you discard) name(Return creature and you discard) target(creature|mygraveyard) moveto(myhand) && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ controller
auto=if type(creature|mygraveyard)~morethan~0 then if type(artifact|battlefield)~morethan~0 then choice name(Return creature and destroy artifact) name(Return creature and destroy artifact) name(Return creature and destroy artifact) target(creature|mygraveyard) moveto(myhand) && ability$!name(Destroy artifact) name(Destroy artifact) destroy target(artifact)!$ controller
auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creature and deals damage) name(Return creature and deals damage) target(creature|mygraveyard) moveto(myhand) && ability$!name(Deals 2 damage) name(Deals 2 damage) damage:2 target(player,creature)!$ controller
auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy artifact and opponent discards) name(Destroy artifact and opponent discards) target(artifact) destroy && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent
auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy artifact and you discard) name(Destroy artifact and you discard) target(artifact) destroy && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ controller
auto=choice name(Deals damage and opponent discards) damage:2 target(player,creature) && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ opponent
auto=choice name(Deals damage and you discard) damage:2 target(player,creature) && ability$!name(Discard a card) name(Discard a card) notatarget(*|myhand) reject!$ controller
auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy artifact and deals damage) name(Destroy artifact and deals damage) target(artifact) destroy && ability$!name(Deals 2 damage) name(Deals 2 damage) damage:2 target(player,creature)!$ controller
text=Choose two — -- • Return target creature card from your graveyard to your hand. -- • Target player discards a card. -- • Destroy target artifact. -- • Kolaghan's Command deals 2 damage to target creature or player.
mana={1}{B}{R}
type=Instant
@@ -47314,6 +47318,16 @@ power=2
toughness=2
[/card]
[card]
name=Plague of Vermin
auto=if compare(ishuman)~equalto~0 then thisforeach(variable{opponentlifetotal}) ability$!may name(Pay 1 life and create rat) life:-1 && token(Rat,Creature Rat,1/1,black)!$ opponent
auto=if compare(ishuman)~equalto~0 then thisforeach(variable{lifetotal}>15) ability$!may name(Pay 1 life and create rat) token(Rat,Creature Rat,1/1,black) and!( life:-1 controller )! !$ controller
auto=if compare(ishuman)~equalto~1 then thisforeach(variable{opponentlifetotal}>15) ability$!may name(Pay 1 life and create rat) life:-1 && token(Rat,Creature Rat,1/1,black)!$ opponent
auto=if compare(ishuman)~equalto~1 then thisforeach(variable{lifetotal}) ability$!may name(Pay 1 life and create rat) token(Rat,Creature Rat,1/1,black) and!( life:-1 controller )! !$ controller
text=Starting with you, each player may pay any amount of life. Repeat this process until no one pays life. Each player puts a 1/1 black Rat creature token onto the battlefield for each 1 life he or she paid this way.
mana={6}{B}
type=Sorcery
[/card]
[card]
name=Plague Reaver
auto=@each my endofturn:sacrifice all(other creature|mybattlefield)
auto={D(*|myhand)}{D(*|myhand)}:sacrifice and!(phaseaction[opponent upkeep once] name(choose Plague Reaver) moveto(opponentbattlefield) target(Plague Reaver[fresh]|mygraveyard))!
@@ -47405,6 +47419,41 @@ power=1
toughness=3
[/card]
[card]
name=Planeswalker's Favor
auto={3}{G}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(Creature gets X/X) moveto(ownerhand) and!( target(creature) manacost/manacost ueot )!])) oneshot )!
text={3}{G}: Target opponent reveals a card at random from his or her hand. Target creature gets +X/+X until end of turn, where X is the revealed card's converted mana cost.
mana={2}{G}
type=Enchantment
[/card]
[card]
name=Planeswalker's Fury
auto={3}{R}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(Deal damage) moveto(ownerhand) and!( damage:manacost opponent )!])) oneshot )!
text={3}{R}: Target opponent reveals a card at random from his or her hand. Planeswalker's Fury deals damage equal to that card's converted mana cost to that player. Activate this ability only any time you could cast a sorcery.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Planeswalker's Mirth
auto={3}{W}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(You gain life) moveto(ownerhand) and!( life:manacost controller )!])) oneshot )!
text={3}{W}: Target opponent reveals a card at random from his or her hand. You gain life equal to that card's converted mana cost.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Planeswalker's Mischief
auto={3}{U}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[if cantargetcard(*[instant;sorcery]|*) then choice name(Put to exile) name(Put to exile) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[zerocast],newability[phaseaction[endofturn once checkex] moveto(ownerhand)])) ueot)!],newability[if cantargetcard(*[-instant;-sorcery]|*) then choice name(Put back) name(Put back) moveto(ownerhand)])) oneshot )! asSorcery
text={3}{U}: Target opponent reveals a card at random from his or her hand. If it's an instant or sorcery card, exile it. You may cast it without paying its mana cost for as long as it remains exiled. (If it has X in its mana cost, X is 0.) At the beginning of the next end step, if you haven't cast it, return it to its owner's hand. Activate this ability only any time you could cast a sorcery.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Planeswalker's Scorn
auto={3}{B}:name(Opponent reveals card) moverandom(*) from(opponenthand) to(myhand) and!( transforms((,newability[choice name(Creature gets -X/-X) moveto(ownerhand) and!( target(creature) -manacost/-manacost ueot )!])) oneshot )!
text={3}{B}: Target opponent reveals a card at random from his or her hand. Target creature gets -X/-X until end of turn, where X is the revealed card's converted mana cost. Activate this ability only any time you could cast a sorcery.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Planewide Celebration
auto=thisforeach(variable{4}) ability$!name(Choose one) choice name(Create citizen) token(Citizen,Creature Citizen,2/2,white,blue,black,red,green) _ choice name(Return permanent) target(*[-instant;-sorcery]|mygraveyard) moveto(ownerhand) _ choice name(Proliferate) notatarget(<anyamount>player,permanent) proliferate _choice name(Gain life) life:4 controller!$ controller
text=Choose four. You may choose the same mode more than once. -- • Create a 2/2 Citizen creature token that's all colors. -- • Return target permanent card from your graveyard to your hand. -- • Proliferate. -- • You gain 4 life.
@@ -47429,6 +47478,15 @@ power=2
toughness=2
[/card]
[card]
name=Plasm Capture
target=*|stack
auto=fizzle
anyzone=if casted(this) then if compare(hasstorecard)~morethan~0 then transforms((,newability[counter(0/0.1.PlasmEffect)],newability[@each my firstmain restriction{compare(hascntplasmeffect)~morethan~0}:name(Effect ends) removeallcounters(0/0.1.PlasmEffect)],newability[@each my firstmain restriction{compare(hascntplasmeffect)~morethan~0}:name(Add mana) thisforeach(variable{storedmanacost}>0) ability$!name(Choose color) choice name(Add red mana) add{R} _ choice name(Add green mana) add{G} _ choice name(Add white mana) add{W} _ choice name(Add black mana) add{B} _ choice name(Add blue mana) add{U}!$ controller])) forever
text=Counter target spell. At the beginning of your next precombat main phase, add X mana in any combination of colors to your mana pool, where X is that spell's converted mana cost.
mana={G}{G}{U}{U}
type=Instant
[/card]
[card]
name=Plate Armor
auto={9999}:equip
auto=this(variable{type:*[equipment]:mybattlefield}=1) {3}:name(Equip) name(Equip) target(creature|myBattlefield) rehook asSorcery
@@ -47591,6 +47649,16 @@ mana={2}{U}
type=Sorcery
[/card]
[card]
name=Pollen Remedy
abilities=hasotherkicker
other={W}{S(land|myBattlefield)} name(Pay kicker)
auto=if paid(alternative) then thisforeach(variable{6}) ability$!name(Prevent 1 damage) name(Prevent 1 damage) target(player,creature) prevent:1!$ controller
auto=ifnot paid(alternative) then thisforeach(variable{3}) ability$!name(Prevent 1 damage) name(Prevent 1 damage) target(player,creature) prevent:1!$ controller
text=Kicker—Sacrifice a land. (You may sacrifice a land in addition to any other costs as you cast this spell.) -- Prevent the next 3 damage that would be dealt this turn to any number of target creatures and/or players, divided as you choose. If Pollen Remedy was kicked, prevent the next 6 damage this way instead.
mana={W}
type=Instant
[/card]
[card]
name=Pollenbright Druid
auto=choice name(Put 1/1 counter) counter(1/1) target(creature)
auto=choice name(Proliferate) notatarget(<anyamount>player,permanent) proliferate
@@ -47969,6 +48037,13 @@ mana={W}
type=Instant
[/card]
[card]
name=Praetor's Grasp
auto=name(Search opponent library) target(*|opponentlibrary) moveto(myexile) and!( transforms((,newability[shuffle opponent],newability[canplayfromexile],newability[@each beginofturn:name(Can play from exile) transforms((,newability[canplayfromexile])) forever])) forever )!
text=Search target opponent's library for a card and exile it face down. Then that player shuffles his or her library. You may look at and play that card for as long as it remains exiled.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Pramikon, Sky Rampart
abilities=flying,defender
text=Flying, defender -- As Pramikon, Sky Rampart enters the battlefield, choose left or right. -- Each player may attack only the nearest opponent in the chosen direction and planeswalkers controlled by that opponent.
@@ -53021,6 +53096,7 @@ text=First strike, menace, trample -- Partner (You can have two commanders if bo
mana={0}
type=Legendary Creature
subtype=Kobold Warrior
color=red
power=0
toughness=1
[/card]

View File

@@ -7846,53 +7846,11 @@ mana={U}{U}
type=Sorcery
[/card]
[card]
name=Plague of Vermin
text=Starting with you, each player may pay any amount of life. Repeat this process until no one pays life. Each player puts a 1/1 black Rat creature token onto the battlefield for each 1 life he or she paid this way.
mana={6}{B}
type=Sorcery
[/card]
[card]
name=Planeswalker's Favor
text={3}{G}: Target opponent reveals a card at random from his or her hand. Target creature gets +X/+X until end of turn, where X is the revealed card's converted mana cost.
mana={2}{G}
type=Enchantment
[/card]
[card]
name=Planeswalker's Fury
text={3}{R}: Target opponent reveals a card at random from his or her hand. Planeswalker's Fury deals damage equal to that card's converted mana cost to that player. Activate this ability only any time you could cast a sorcery.
mana={2}{R}
type=Enchantment
[/card]
[card]
name=Planeswalker's Mirth
text={3}{W}: Target opponent reveals a card at random from his or her hand. You gain life equal to that card's converted mana cost.
mana={2}{W}
type=Enchantment
[/card]
[card]
name=Planeswalker's Mischief
text={3}{U}: Target opponent reveals a card at random from his or her hand. If it's an instant or sorcery card, exile it. You may cast it without paying its mana cost for as long as it remains exiled. (If it has X in its mana cost, X is 0.) At the beginning of the next end step, if you haven't cast it, return it to its owner's hand. Activate this ability only any time you could cast a sorcery.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Planeswalker's Scorn
text={3}{B}: Target opponent reveals a card at random from his or her hand. Target creature gets -X/-X until end of turn, where X is the revealed card's converted mana cost. Activate this ability only any time you could cast a sorcery.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Planewide Disaster
text=When you encounter Planewide Disaster, destroy all creatures. (Then planeswalk away from this phenomenon.)
type=Phenomenon
[/card]
[card]
name=Plasm Capture
text=Counter target spell. At the beginning of your next precombat main phase, add X mana in any combination of colors to your mana pool, where X is that spell's converted mana cost.
mana={G}{G}{U}{U}
type=Instant
[/card]
[card]
name=Plea for Power
text=Will of the council — Starting with you, each player votes for time or knowledge. If time gets more votes, take an extra turn after this one. If knowledge gets more votes or the vote is tied, draw three cards.
mana={3}{U}
@@ -7911,12 +7869,6 @@ mana={1}{W}
type=Instant
[/card]
[card]
name=Pollen Remedy
text=Kicker—Sacrifice a land. (You may sacrifice a land in addition to any other costs as you cast this spell.) -- Prevent the next 3 damage that would be dealt this turn to any number of target creatures and/or players, divided as you choose. If Pollen Remedy was kicked, prevent the next 6 damage this way instead.
mana={W}
type=Instant
[/card]
[card]
name=Pools of Becoming
text=At the beginning of your end step, put the cards in your hand on the bottom of your library in any order, then draw that many cards. -- Whenever you roll {C}, reveal the top three cards of your planar deck. Each of the revealed cards' {C} abilities triggers. Then put the revealed cards on the bottom of your planar deck in any order.
type=Plane
@@ -7965,12 +7917,6 @@ mana={G}{G}
type=Enchantment
[/card]
[card]
name=Praetor's Grasp
text=Search target opponent's library for a card and exile it face down. Then that player shuffles his or her library. You may look at and play that card for as long as it remains exiled.
mana={1}{B}{B}
type=Sorcery
[/card]
[card]
name=Precursor Golem
text=When Precursor Golem enters the battlefield, put two 3/3 colorless Golem artifact creature tokens onto the battlefield. -- Whenever a player casts an instant or sorcery spell that targets only a single Golem, that player copies that spell for each other Golem that spell could target. Each copy targets a different one of those Golems.
mana={5}