summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-11-04 20:59:36 +0100
committerGitHub <noreply@github.com>2017-11-04 20:59:36 +0100
commit94859ffd0f75163b30b883091b7c54bae30beacb (patch)
tree9a44b23b87cfb88920f690538ac59ba439fa617a /doc
parent9519c40b00802dfb22070884820ab4a26d7c5ba5 (diff)
parente6afabe4da2fb32debc4a15ab3a67a897e1b7e77 (diff)
downloadhercules-94859ffd0f75163b30b883091b7c54bae30beacb.tar.gz
hercules-94859ffd0f75163b30b883091b7c54bae30beacb.tar.bz2
hercules-94859ffd0f75163b30b883091b7c54bae30beacb.tar.xz
hercules-94859ffd0f75163b30b883091b7c54bae30beacb.zip
Merge pull request #1865 from dastgir/2017-1_equipoption_mod
setequipoption Modification
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 5c730106b..b5718a55e 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.