summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-12-02 10:30:10 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-12-02 10:30:10 +0000
commit4afe95f6ad237ebddbc913f9e02dd1bbd4fb28b9 (patch)
tree3bb5818ac995b3853d9f0cd46de07542eddc2c4e /src/map/script.h
parentaefb12e53cbeed61558283309a5f8e2f31963fdb (diff)
downloadhercules-4afe95f6ad237ebddbc913f9e02dd1bbd4fb28b9.tar.gz
hercules-4afe95f6ad237ebddbc913f9e02dd1bbd4fb28b9.tar.bz2
hercules-4afe95f6ad237ebddbc913f9e02dd1bbd4fb28b9.tar.xz
hercules-4afe95f6ad237ebddbc913f9e02dd1bbd4fb28b9.zip
* 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14180 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 84f2b34a1..aa6b85140 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -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);