From baa5c1fc386a706ba4bf4aa48409b8947274c928 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 4 Oct 2013 20:55:58 -0300 Subject: 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 --- doc/script_commands.txt | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'doc') 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 ; +*downrefitem {,}; -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 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()' but it returns nothing on the stack. -This is since jAthena, so probably nobody knows for sure why is it so. - --------------------------------------- *unequip ; -- cgit v1.2.3-70-g09d2