summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorAnnieRuru <jeankofannie2@gmail.com>2019-03-11 04:42:10 +0800
committerAnnieRuru <jeankofannie2@gmail.com>2019-03-11 04:42:10 +0800
commit9e860b0bf7eeeed5e20f9d9e8ddb04c93c93a11f (patch)
treecfff9f2d4f265dbadd8bbec888bffcb48811c0cb /src/map/script.h
parent1ac84c2dd856087a4a72fec95b3322137187637a (diff)
downloadhercules-9e860b0bf7eeeed5e20f9d9e8ddb04c93c93a11f.tar.gz
hercules-9e860b0bf7eeeed5e20f9d9e8ddb04c93c93a11f.tar.bz2
hercules-9e860b0bf7eeeed5e20f9d9e8ddb04c93c93a11f.tar.xz
hercules-9e860b0bf7eeeed5e20f9d9e8ddb04c93c93a11f.zip
Add constants and MERCINFO_GID to *getmercinfo script command
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 549ad3284..54c5aad2a 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -461,6 +461,23 @@ enum script_iteminfo_types {
};
/**
+ * Mercenary Info types.
+ */
+enum script_mercinfo_types {
+ MERCINFO_ID = 0,
+ MERCINFO_CLASS,
+ MERCINFO_NAME,
+ MERCINFO_FAITH,
+ MERCINFO_CALLS,
+ MERCINFO_KILLCOUNT,
+ MERCINFO_LIFETIME,
+ MERCINFO_LEVEL,
+ MERCINFO_GID,
+
+ MERCINFO_MAX
+};
+
+/**
* Player blocking actions related flags.
*/
enum pcblock_action_flag {