summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-24 20:40:33 +0300
committerAndrei Karas <akaras@inbox.ru>2018-12-12 21:18:06 +0300
commit2d33d766bd7ea81eb40c15fe45d59ab155b16fde (patch)
tree962849821b8f1bd7b62c4209756005ef7f903ce3 /doc/script_commands.txt
parentc76f8ded8743966abe10a15a3a03604d76d2d5df (diff)
downloadhercules-2d33d766bd7ea81eb40c15fe45d59ab155b16fde.tar.gz
hercules-2d33d766bd7ea81eb40c15fe45d59ab155b16fde.tar.bz2
hercules-2d33d766bd7ea81eb40c15fe45d59ab155b16fde.tar.xz
hercules-2d33d766bd7ea81eb40c15fe45d59ab155b16fde.zip
Add script command for insert cards into equipped items.
enchantitem(<equip_pos>, <card_slot>, <card_id>)
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 90d4d77cc..b88ff8809 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -10237,3 +10237,14 @@ Update already opened preview window with item from
Works for 20181017 RE and main clients or newer.
---------------------------------------
+
+*enchantitem(<equip_pos>, <card_slot>, <card_id>);
+
+Insert card into equipped item in EQI_* slot.
+card_slot - can be 0 to 3.
+card_id - any card item id.
+
+returns true if all parameters correct
+false in other case.
+Works for 20160831 main, 20151118 RE, any zero version
+---------------------------------------