summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-05-02 21:51:13 -0300
committershennetsind <ind@henn.et>2013-05-02 21:51:13 -0300
commitc6f8d9ed12d930a63f5c82370962ac94cd70b13c (patch)
treed961fff9faf1770fd30d697000a1a76b3c09b83b /doc/script_commands.txt
parent64adafab4a56d97f547a5daf0f9feda3f9a12032 (diff)
downloadhercules-c6f8d9ed12d930a63f5c82370962ac94cd70b13c.tar.gz
hercules-c6f8d9ed12d930a63f5c82370962ac94cd70b13c.tar.bz2
hercules-c6f8d9ed12d930a63f5c82370962ac94cd70b13c.tar.xz
hercules-c6f8d9ed12d930a63f5c82370962ac94cd70b13c.zip
Fixed Bug #7210
itemskill now checks for skill conditions unless a 3rd param is present. http://hercules.ws/board/tracker/issue-7210-itemskill-command-does-not-check-for-required-items/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index aa3112d62..768813a6f 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -4454,13 +4454,14 @@ except for those have been set with 'disable_items'.
---------------------------------------
-*itemskill <skill id>,<skill level>;
-*itemskill "<skill name>",<skill level>;
+*itemskill <skill id>,<skill level>,{flag};
+*itemskill "<skill name>",<skill level>,{flag};
This command meant for item scripts to replicate single-use skills in usable
-items. It will not work properly, if there is a visible dialog window or menu.
-If the skill is self or auto-targeting, it will be used immediately otherwise a
+items. It will not work properly if there is a visible dialog window or menu.
+If the skill is self or auto-targeting it will be used immediately otherwise a
target cursor is shown.
+Flag is a optional param and when present the command will not check for skill requirements
// When Anodyne is used, it will cast Endure (8), Level 1, as if the actual
// skill has been used from skill tree.