0b9ff076e6
- "Manapool empties at the end of each step" becomes an ability, and was moved into the external rules file. "removemana(*) to remove all, removemana(*{G}) to remove all green, removemana(*{G}{B}{R}) to remove all green black red, removemana({G}{G}{B}{U}) (no "*") to remove a specific value.
- Added a possibility to make abilities non interruptible. With little work, this could be added to the parser if needed. Please use with care, let's discuss what is an acceptable usage of this now functionality, if needed.
25 lines
751 B
Plaintext
25 lines
751 B
Plaintext
#make sure this file always looks like mtg.txt, minus the initial shuffle and draw
|
|
hidden
|
|
[INIT]
|
|
mode=mtg
|
|
[PLAYERS]
|
|
life:20
|
|
auto=@each my draw:draw:1
|
|
auto=maxPlay(land)1
|
|
|
|
#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 |