- 0
How to add a global reg value requirement in script.c
Asked by
vijay
-
Recently Browsing 0 members
No registered users viewing this page.
Asked by
vijay
No registered users viewing this page.
By using this site, you agree to our Terms of Use.
I want to add a global reg unit and that is #DOMINATION, Its like a points.
Player then need have atlest 1 to bypass the script_pushint(st, -2);.
Here are the codes.
http://pastebin.com/zN3gikWv
This is the line i need to add up that #DOMINATION
if(sd2 && (sd2->status.base_level<200 || sd2->status.class_==JOB_NOVICE || sd2->status.class_==JOB_BABY || sd2->status.class_==JOB_NOVICE_HIGH)){
script_pushint(st, -2);
I tried this but i'm getting errors
if(sd2 && (sd2->status.#DOMINATION < 1 || sd2->status.base_level<200 || sd2->status.class_==JOB_NOVICE || sd2->status.class_==JOB_BABY || sd2->status.class_==JOB_NOVICE_HIGH)){
script_pushint(st, -2);
Heads up would be grate, Thanks!
Share this post
Link to post
Share on other sites