Re: Trigger discussion (was WheneverKeyword reference)
Patch: http://pastebin.com/1gvXjiZZ
Based on r5000.
The clumsy beginnings of the DamageDone mode is in there as well. I already know that is hideous, please focus on the big picture
EDIT: Also I havn't gotten around to properly commenting the code.. Just ask if you have questions!
EDIT2: Couldn't sleep, so I added a bunch of modes and requirements/restrictions!
Patch:
Based on r5032.
New modes: SpellCast,LifeGained,LifeLost,BeginningOfPhase,EndOfPhase,Attacks & Blocks.
New requirements/restrictions: Metalcraft,Threshold,PlayersPoisoned,ControlsNoValid & ControlsValid.
Didn't manage to fix the text bug, though, got distracted by MBS spoilers.
(Incidentally, what's the common opinion on when we start to implement cards from upcoming sets?I'm asking because I have theoretically sound code for all spoiled cards except Flayer Husk & technically Signal Pest, using the new modes mostly.)
Based on r5000.
The clumsy beginnings of the DamageDone mode is in there as well. I already know that is hideous, please focus on the big picture
EDIT: Also I havn't gotten around to properly commenting the code.. Just ask if you have questions!
EDIT2: Couldn't sleep, so I added a bunch of modes and requirements/restrictions!
Patch:
Based on r5032.
New modes: SpellCast,LifeGained,LifeLost,BeginningOfPhase,EndOfPhase,Attacks & Blocks.
New requirements/restrictions: Metalcraft,Threshold,PlayersPoisoned,ControlsNoValid & ControlsValid.
Didn't manage to fix the text bug, though, got distracted by MBS spoilers.