summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-10-04 20:55:58 -0300
committershennetsind <ind@henn.et>2013-10-04 20:55:58 -0300
commitbaa5c1fc386a706ba4bf4aa48409b8947274c928 (patch)
tree565e0f5a9355587f3c3625ac374df2a3444505f4 /doc/script_commands.txt
parent24556fbd5969a6cc2806a46b853e6252b5d7cd06 (diff)
downloadhercules-baa5c1fc386a706ba4bf4aa48409b8947274c928.tar.gz
hercules-baa5c1fc386a706ba4bf4aa48409b8947274c928.tar.bz2
hercules-baa5c1fc386a706ba4bf4aa48409b8947274c928.tar.xz
hercules-baa5c1fc386a706ba4bf4aa48409b8947274c928.zip
downrefitem script command update
Preparation for refiner/hd-ore update; Optional param added, this will allow for the officials 1/3 downgrades as well as for users to customise the value to their liking at script-level. Thanks To Haruna. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt11
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 29a1478fa..4dcbd75d1 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -4784,18 +4784,15 @@ so.
---------------------------------------
-*downrefitem <equipment slot>;
+*downrefitem <equipment slot>{,<downgrade_count>};
-This command will downgrade an item by - 1 in the specified equipment slot
-of the invoking character. So the item will not be destroyed unlike in the
+This command will downgrade an item by - 1 (unless optional <downgrade_count> is provided)
+in the specified equipment slot of the invoking character.
+So the item will not be destroyed unlike in the
failedrefitem script command. This will also display a 'refine failure'
effect on the character and put appropriate messages into their chat
window.
-The official scripts seems to use the 'downrefitem' command as a function
-instead: 'downrefitem(<number>)' but it returns nothing on the stack.
-This is since jAthena, so probably nobody knows for sure why is it so.
-
---------------------------------------
*unequip <equipment slot>;