Implemented Commander mode and rules, added Command Zone to game, added/fixed primitives, increased the major release version.
This commit is contained in:
77
projects/mtg/bin/Res/rules/Commander.txt
Normal file
77
projects/mtg/bin/Res/rules/Commander.txt
Normal file
@@ -0,0 +1,77 @@
|
||||
name=Commander Format
|
||||
unlock=prx_commander
|
||||
[INIT]
|
||||
mode=mtg
|
||||
|
||||
#MTG Game specific rules
|
||||
auto=bonusrule
|
||||
auto=putinplayrule
|
||||
auto=kickerrule
|
||||
auto=alternativecostrule
|
||||
auto=buybackrule
|
||||
auto=flashbackrule
|
||||
auto=retracerule
|
||||
auto=suspendrule
|
||||
auto=morphrule
|
||||
auto=payzerorule
|
||||
auto=overloadrule
|
||||
auto=attackrule
|
||||
auto=attackcostrule
|
||||
auto=blockrule
|
||||
auto=blockcostrule
|
||||
auto=combattriggerrule
|
||||
auto=legendrule
|
||||
auto=planeswalkerrule
|
||||
auto=planeswalkerdamage
|
||||
auto=planeswalkerattack
|
||||
auto=tokencleanuprule
|
||||
auto=persistrule
|
||||
auto=vampirerule
|
||||
auto=unearthrule
|
||||
auto=lifelinkrule
|
||||
auto=deathtouchrule
|
||||
auto=soulbondrule
|
||||
auto=dredgerule
|
||||
auto=bestowrule
|
||||
|
||||
[PLAYERS]
|
||||
life:40
|
||||
offerinterruptonphase=draw
|
||||
|
||||
auto=shuffle
|
||||
auto=draw:7
|
||||
|
||||
auto=sethand:7
|
||||
auto=@each my draw:draw:1
|
||||
auto=maxPlay(land)1
|
||||
|
||||
#Lands Mana Rules
|
||||
auto=lord(Plains[-noactivatedability;-nomanaability;-notapability;land]|MyBattlefield) {T}:Add{W}
|
||||
auto=lord(Island[-noactivatedability;-nomanaability;-notapability;land]|MyBattlefield) {T}:Add{U}
|
||||
auto=lord(Swamp[-noactivatedability;-nomanaability;-notapability;land]|MyBattlefield) {T}:Add{B}
|
||||
auto=lord(Mountain[-noactivatedability;-nomanaability;-notapability;land]|MyBattlefield) {T}:Add{R}
|
||||
auto=lord(Forest[-noactivatedability;-nomanaability;-notapability;land]|MyBattlefield) {T}:Add{G}
|
||||
|
||||
|
||||
#Mana Empties from manapool at the end of each phase
|
||||
auto=@each untap:removeMana(*)
|
||||
auto=@each upkeep:removeMana(*)
|
||||
auto=@each draw:removeMana(*)
|
||||
auto=@each firstmain:removeMana(*)
|
||||
auto=@each combatbegins:removeMana(*)
|
||||
auto=@each attackers:removeMana(*)
|
||||
auto=@each blockers:removeMana(*)
|
||||
auto=@each combatdamage:removeMana(*)
|
||||
auto=@each combatEnds:removeMana(*)
|
||||
auto=@each secondmain:removeMana(*)
|
||||
auto=@each end:removeMana(*)
|
||||
auto=@each cleanup:removeMana(*)
|
||||
|
||||
#reset Creature damage at the cleanup phase
|
||||
auto=@each cleanup:all(*|myBattlefield) resetDamage
|
||||
|
||||
#Commander put back rule
|
||||
auto=@movedTo(*[iscommander]|mygraveyard) from(battlefield):may name(Put back to command zone) ability$!name(Put back to command zone) name(Put back to command zone) target(*[iscommander;fresh]|mygraveyard) moveto(mycommandzone)!$ controller
|
||||
auto=@movedTo(*[iscommander]|myexile) from(battlefield):may name(Put back to command zone) ability$!name(Put back to command zone) name(Put back to command zone) target(*[iscommander;fresh]|myexile) moveto(mycommandzone)!$ controller
|
||||
auto=@movedTo(*[iscommander]|mylibrary) from(battlefield):may name(Put back to command zone) ability$!name(Put back to command zone) name(Put back to command zone) target(*[iscommander]|mylibrary) moveto(mycommandzone)!$ controller
|
||||
auto=@movedTo(*[iscommander]|myhand) from(battlefield):may name(Put back to command zone) ability$!name(Put back to command zone) name(Put back to command zone) target(*[iscommander]|myhand) moveto(mycommandzone)!$ controller
|
||||
Reference in New Issue
Block a user