summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-03-11 00:56:49 +0100
committerGitHub <noreply@github.com>2019-03-11 00:56:49 +0100
commit47cfee479ebf61942be2af9540013469d6806f13 (patch)
treeba5958cdd3893c0bf1a2e43cd6f53de2d34768e6 /doc
parent28eb50882484697b10fa4764b3e0fd91d9e12a4e (diff)
parent0d99c3487f4efa10407879112ad0db24be86d5ff (diff)
downloadhercules-47cfee479ebf61942be2af9540013469d6806f13.tar.gz
hercules-47cfee479ebf61942be2af9540013469d6806f13.tar.bz2
hercules-47cfee479ebf61942be2af9540013469d6806f13.tar.xz
hercules-47cfee479ebf61942be2af9540013469d6806f13.zip
Merge pull request #2397 from AnnieRuru/68-getmercinfo
Add constants and MERCINFO_GID to *getmercinfo script command
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt23
1 files changed, 12 insertions, 11 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 30d7f9512..f2852e93e 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -9845,17 +9845,18 @@ If char id is given, the information of that character is retrieved
instead. Type specifies what information to retrieve and can be one of the
following:
- 0 - Database ID
- 1 - Class
- 2 - Name
- 3 - Faith value for this mercenary's guild, if any
- 4 - Calls value for this mercenary's guild, if any
- 5 - Kill count
- 6 - Remaining life time in msec
- 7 - Level
-
-If the character does not have a mercenary, the command returns ""
-for name and 0 for all other types.
+ MERCINFO_ID - Mercenary Database ID
+ MERCINFO_CLASS - Mercenary Class
+ MERCINFO_NAME - Mercenary Name
+ MERCINFO_FAITH - Mercenary faith value for this mercenary's guild, if any
+ MERCINFO_CALLS - Mercenary calls value for this mercenary's guild, if any
+ MERCINFO_KILLCOUNT - Mercenary kill count
+ MERCINFO_LIFETIME - Mercenary remaining life time in mili-second
+ MERCINFO_LEVEL - Mercenary Level
+ MERCINFO_GID - Mercenary Game ID
+
+If the character does not have a mercenary, the command returns "" for MERCINFO_NAME
+and 0 for all other types.
---------------------------------------
//=====================================