LackeyCCG

LackeyCCG Forum => Bug Report Forum => Topic started by: Jynks on March 06, 2014, 08:49:09 PM

Title: [BUG] /cc(colour)=x in scripting erroring...
Post by: Jynks on March 06, 2014, 08:49:09 PM
Hi there... still playing with scripts... found what looks to be a bug...

I have card that comes in with 5 credits and 2 recurring credits.... so 2 different counters.

This doesn't work.
<s><a>y</a><l>Initialize counters</l><f>/ccyellow=2;/ccwhite=5;/spawn Server Zone HQ;/spawn Server Zone R&D;/spawn Server Zone Archive</f></s>

This code works!
<s><a>y</a><l>Initialize counters</l><f>/cardfunction 8;/cardfunction 8;/ccwhite=5;/spawn Server Zone HQ;/spawn Server Zone R&D;/spawn Server Zone Archive</f></s>

In the above case cardfunction 8 is +1 yellow counter.

Basically what is happening is that if you use the /cccolour=x command more than once, only the first command is activated. So in my first poasted code IU get 2 yellow and no white.. if I used this code...
<s><a>y</a><l>Initialize counters</l><f>/ccwhite=5;/ccyellow=2;/spawn Server Zone HQ;/spawn Server Zone R&D;/spawn Server Zone Archive</f></s>

I would get 5 white and no yellow.


Title: Re: [BUG] /cc(colour)=x in scripting erroring...
Post by: Trevor on March 11, 2014, 03:41:40 AM
Ya, that looks like a bug. I'll see if I can fix that.