summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAnnieRuru <jeankofannie2@gmail.com>2019-03-11 18:17:18 +0800
committerAnnieRuru <jeankofannie2@gmail.com>2019-03-11 18:17:18 +0800
commite42d9cb57a747427aee8d5edc15059de52588386 (patch)
tree2ff7207f8fc56c561a73451f9e173662656639e9 /doc
parente1e951c805916853e55ff5b9ce0531e0cf483ebf (diff)
downloadhercules-e42d9cb57a747427aee8d5edc15059de52588386.tar.gz
hercules-e42d9cb57a747427aee8d5edc15059de52588386.tar.bz2
hercules-e42d9cb57a747427aee8d5edc15059de52588386.tar.xz
hercules-e42d9cb57a747427aee8d5edc15059de52588386.zip
Deprecate *petstat script command
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 19f189f81..845570efd 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -3853,6 +3853,10 @@ If the invoking player doesn't own a pet, this command will return
*petstat(<flag>)
+ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ @ /!\ This command is deprecated @
+ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+
Returns current pet status, all are integers except name.
Returns 0 or "" if the player doesn't have pets.
@@ -3866,6 +3870,9 @@ PET_INTIMATE
Example:
.@i = petstat(PET_CLASS);
+This command is deprecated and it should not be used in new scripts, as it is
+likely to be removed at a later time. Please use 'getpetinfo' instead.
+
---------------------------------------
*getmonsterinfo(<mob ID>, <type>)