Page 1 of 1

CDbl Problem in AP_CheckSkillCap()

Posted: Thu May 15, 2008 1:04 am
by Battousai
in skills.inc function AP_CheckSkillCap()

Code: Select all

 return ( total >= cap_val );
if my total is 0 and my cap_val is 1200 it returns 1;
When i both covert them into CInts it returns 0;

Posted: Thu May 15, 2008 1:19 am
by Battousai
I parsed the cap_val to Dbl now. And it works.
the cap_val is/was still a String.

Posted: Thu May 15, 2008 2:39 am
by Battousai
NvM. Ignore my post. :oops: