* Autobonus code cleanups.
- removed the 'script_parsed' flag to fix the issues with combo items. - introduced a global cache for autobonus scripts so that we don't have to parse scripts everytime invoking status_calc_bl. - fixed such script commands as 'getrefine()' not working inside autobonus scripts. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14180 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -161,6 +161,7 @@ void script_free_state(struct script_state* st);
|
||||
|
||||
struct DBMap* script_get_label_db(void);
|
||||
struct DBMap* script_get_userfunc_db(void);
|
||||
void script_run_autobonus(const char *autobonus,int id, int pos);
|
||||
|
||||
int script_config_read(char *cfgName);
|
||||
int do_init_script(void);
|
||||
|
||||
Reference in New Issue
Block a user