Improved Commander format card selection rule, added new keyword

"autocommandzone=" to trigger abilities from Command Zone (e.g. Commander Ninjutsu), added/fixed some primitives, added a new GUI Button to show Player's Sideboard.
This commit is contained in:
valfieri
2020-12-08 20:48:11 +01:00
parent d18232df10
commit 7c696ac213
25 changed files with 207 additions and 74 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

+1
View File
@@ -100,6 +100,7 @@ Random 3 Colors=Aleatorio de 3 colores
Random 5 Colors=Aleatorio de 5 colores
Set Limited=Edicion Limitada
Blitzkrieg Mode Unlocked=Modo Asalto relampago desbloqueado
Commander Format=Modo Comandante
#Juegos por partida:
How many games per match?=Cuantos juegos por partida?
+1
View File
@@ -86,6 +86,7 @@ Random 3 Colors=Tre colori casuali
Random 5 Colors=Cinque colori casuali
Set Limited=Edizione limitata
Blitzkrieg Mode Unlocked=Modalita Assalto fulmineo sbloccata
Commander Format=Modalita' Commander
#Games per match:
How many games per match?=Quante mani per partita?
+5 -1
View File
@@ -1,7 +1,7 @@
name=Commander Format
unlock=prx_commander
[INIT]
mode=mtg
mode=commander
#MTG Game specific rules
auto=bonusrule
@@ -37,6 +37,7 @@ auto=bestowrule
[PLAYERS]
life:40
offerinterruptonphase=draw
auto=ability$!all(*[iscommander]|myzones) moveto(mycommandzone)!$ controller
auto=shuffle
auto=draw:7
@@ -67,6 +68,9 @@ auto=@each secondmain:removeMana(*)
auto=@each end:removeMana(*)
auto=@each cleanup:removeMana(*)
#Monarch rule
auto=@each my endofturn restriction{compare(pmonarch)~morethan~0}:draw:1
#reset Creature damage at the cleanup phase
auto=@each cleanup:all(*|myBattlefield) resetDamage
@@ -32456,6 +32456,18 @@ power=3
toughness=4
[/card]
[card]
name=Path of Ancestry
auto=tap(noevent)
auto=if type(*[red]|myzones)~morethan~0 then transforms((,newability[{T}:add{R} && scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) forever
auto=if type(*[white]|myzones)~morethan~0 then transforms((,newability[{T}:add{W} && scry:1 scrycore delayed dontshow donothing scrycoreend scryend}])) forever
auto=if type(*[green]|myzones)~morethan~0 then transforms((,newability[{T}:add{G} && scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) forever
auto=if type(*[blue]|myzones)~morethan~0 then transforms((,newability[{T}:add{U} && scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) forever
auto=if type(*[black]|myzones)~morethan~0 then transforms((,newability[{T}:add{B} && scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) forever
auto=if type(*[-black;-red;-white;-blue;-green]|myzones)~morethan~0 then transforms((,newability[{T}:add{C} && scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) forever
text=Path of Ancestry enters the battlefield tapped. -- {T}: Add one mana of any color in your commander's color identity. When that mana is spent to cast a creature spell that shares a creature type with your commander, scry 1.
type=Land
[/card]
[card]
name=Pathmaker Initiate
auto={T}:target(creature[power<=2]) unblockable ueot
text={T}: Target creature with power 2 or less can't be blocked this turn.
@@ -32510,6 +32522,13 @@ mana={2}{G}
type=Instant
[/card]
[card]
name=Pay No Heed
auto=name(prevent all damage) notatarget(*|battlefield,stack,hand,graveyard) transforms((,newability[preventalldamage from(this)])) ueot
text=Prevent all damage a source of your choice would deal this turn.
mana={W}
type=Instant
[/card]
[card]
name=Peer into the Abyss
auto=choice name(Target opponent) draw:halfuptype:*:opponentlibrary opponent && life:-halfupopponentlifetotal opponent
auto=choice name(Target controller) draw:halfuptype:*:mylibrary controller && life:-halfuplifetotal controller
@@ -52627,6 +52646,7 @@ toughness=0
[card]
name=Yuriko, the Tiger's Shadow
autohand={U}{B}{N}:ninjutsu
autocommandzone={U}{B}{N}:ninjutsu
auto=@combatdamagefoeof(player) from(ninja|myBattlefield):moveto(myhand) and!( transforms((,newability[damage:manacost opponent])) ueot )! all(*[zpos=1]|mylibrary)
auto=@combatdamageof(player) from(ninja|myBattlefield):moveto(myhand) and!( transforms((,newability[damage:manacost controller])) ueot )! all(*[zpos=1]|mylibrary)
text=Commander ninjutsu {U}{B} ({U}{B}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand or the command zone tapped and attacking.) -- Whenever a Ninja you control deals combat damage to a player, reveal the top card of your library and put that card into your hand. Each opponent loses life equal to that card's converted mana cost.
@@ -9958,12 +9958,6 @@ mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Pay No Heed
text=Prevent all damage a source of your choice would deal this turn.
mana={W}
type=Instant
[/card]
[card]
name=Peace Talks
text=This turn and next turn, creatures can't attack, and players and permanents can't be the targets of spells or activated abilities.
mana={1}{W}