-- Zeth, please verify that I didn't break your mods if you have time -- The test suite does NOT pass in this revision (see issue 711), but I verified that the problem does not come from my change, so we need to dig -- Campaigns creators will have to update their campaigns to make them compatible with Wagic 0.16. It consists in adding "include mtg.txt" at the top of each one of their rules.txt file.
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
# This is the basic rules for MTG.
|
|
# Do not add any "Draw X cards at startup" or "shuffle" here, as the story mode and the test suite rely on this
|
|
# file, and they usually don't expect the draw rule or shuffle to happen
|
|
# If you want shuffle or draw events, put them directly in your own rules file that includes this file, see clasic.txt for example
|
|
hidden
|
|
[INIT]
|
|
mode=mtg
|
|
[PLAYERS]
|
|
life:20
|
|
offerinterruptonphase=draw
|
|
auto=sethand:7
|
|
auto=@each my draw:draw:1
|
|
auto=maxPlay(land)1
|
|
|
|
|
|
#Lands Mana Rules
|
|
auto=lord(Plains|MyBattlefield) {T}:Add{W}
|
|
auto=lord(Island|MyBattlefield) {T}:Add{U}
|
|
auto=lord(Swamp|MyBattlefield) {T}:Add{B}
|
|
auto=lord(Mountains|MyBattlefield) {T}:Add{R}
|
|
auto=lord(Forest|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 |