summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDastgir <dastgirp@gmail.com>2017-10-20 18:19:59 +0530
committerDastgir <dastgirp@gmail.com>2017-10-20 18:19:59 +0530
commite6afabe4da2fb32debc4a15ab3a67a897e1b7e77 (patch)
tree2e08f19292f6b944baa31db5db588bf482af9cbf /doc
parent6b1fe2d069cb0251bc5798767f97454ab63a47c0 (diff)
downloadhercules-e6afabe4da2fb32debc4a15ab3a67a897e1b7e77.tar.gz
hercules-e6afabe4da2fb32debc4a15ab3a67a897e1b7e77.tar.bz2
hercules-e6afabe4da2fb32debc4a15ab3a67a897e1b7e77.tar.xz
hercules-e6afabe4da2fb32debc4a15ab3a67a897e1b7e77.zip
Modified setequipoption to allow removal of equip options.
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 331bed1c7..43616fddd 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -3232,6 +3232,7 @@ Set an equipment's option index or value for the specified option slot.
<equipment_index> For a list of equipment indexes see getequipid().
<option_slot> can range from 1 to MAX_ITEM_OPTIONS
<type> can be IT_OPT_INDEX (the ID of the option bonus, @see "Id" or "Name" in db/item_options.conf)
+ removes the equip option if type is 0.
<value> The value of the type to be set.
returns 0 if value couldn't be set, 1 on success.