salmelo wrote:o, I sent the patches along to wololo (i think thats the same guy as wagic.the.homebrew on google)
Dr.Solomat wrote:"Vegeta! What does the scouter say about Wagics power level?"
"It's over ten thooooouuuuuusaaaaaaaaand!"
"What 10.000? There's no way that can be right!"
abrasax wrote:salmelo wrote:o, I sent the patches along to wololo (i think thats the same guy as wagic.the.homebrew on google)
We all have splitted personalityi'm wagic.laurent on the SVN by the way.
Thanks a lot for the patch.
So this mean we can now add a spore counter with the following code
auto={G}:counter(0/0,1,spore)
I suppose we always need to put the 0/0 in case of just a "named" counter ?
abrasax wrote:And we could code cards with i.e:
auto={0}:counter(0/0,-3,spore) && token(thallid,creature thallid,1/1,green)
Or something approching...
abrasax wrote:I cannot really test atm, I will try to test it during the WE.
This new functionnality will also be one way to approach "cummulative upkeep" coding, since the cummulative upkeep cost is depending on the number of "age" counter on a card...
maybe something like
upkeepcost=foreach(this[age]|myBattelfield) {G}
Could work in the future (at least I hope so...)
Grüssi
Abra
template.exe has triggered a breakpoint
HEAP[template.exe]: Invalid Address specified to RtlValidateHeap( 00360000, 05C78BF8 )
Windows has triggered a breakpoint in template.exe.
This may be due to a corruption of the heap, which indicates a bug in template.exe or any of the DLLs it has loaded.
This may also be due to the user pressing F12 while template.exe has focus.
The output window may have more diagnostic information.Dr.Solomat wrote:If you code the counter removal as part of the activation cost gamers shouldn't be able anymore to activate the ability infinite times.
Did anyone test that?
wololo wrote:I added your patch to the SVN, with some minor modifications, and one major one:
auto={C(0/0,-3,Spore)}:Token(-1924)
note the "-3" instead of "3" in your code.
This means "remove 3 counters". I also updated the code so that a positive number means "add counters" although I haven't tested it.
Some costs involve "adding counters". Most of the time, these can usually be coded as an effect rather than a cost, but I think it's more natural this way.
Other than that, I fixed a memory leak. If you are using Visual Studio, it should give you warnings in the console debug about memory leaks detected, you can use that to see what objects you forgot to de-allocate. That one wasn't an easy one anyways so.
Overall great job, I'm hoping that the counters display will improve, as it is very basic right now, but I'm sure one of our coders/designers will have neat ideas for that![]()
Thanks
Return to Card Coding & Parser
Users browsing this forum: No registered users and 1 guest