diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-10-02 11:16:03 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-10-02 11:16:03 -0300 |
commit | 1f6cb4ec6049e2f15e043c33e9787de8f13a9e3e (patch) | |
tree | efbeabfb0a5f6ad59aab254e97923fec4c6565f4 /src/emap/init.c | |
parent | 6da4682a7b3ec14d278b22abcc0a56b9499d076a (diff) | |
download | evol-hercules-1f6cb4ec6049e2f15e043c33e9787de8f13a9e3e.tar.gz evol-hercules-1f6cb4ec6049e2f15e043c33e9787de8f13a9e3e.tar.bz2 evol-hercules-1f6cb4ec6049e2f15e043c33e9787de8f13a9e3e.tar.xz evol-hercules-1f6cb4ec6049e2f15e043c33e9787de8f13a9e3e.zip |
New function: readbattleparam( <param> )
Complements with some info only available with getunitdata(), which
only works with non-players. Not everything covered by getunitdata() is
covered by this function.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r-- | src/emap/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c index eb06678..4c46190 100644 --- a/src/emap/init.c +++ b/src/emap/init.c @@ -211,6 +211,7 @@ HPExport void plugin_init (void) addScriptCommand("getitemoptionparambyindex", "ii", getItemOptionParamByIndex); addScriptCommand("setitemoptionbyindex", "iii*", setItemOptionByIndex); addScriptCommand("isinstance", "i", isInstance); + addScriptCommand("readbattleparam","i?",readBattleParam); // TMW2 Custom Script Commands addScriptCommand("getguildinfo","i",getguildinfo); |