summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-02-10 15:06:40 -0200
committershennetsind <ind@henn.et>2014-02-10 15:06:40 -0200
commit9d1f80ecdf9a65012525bc1c8f1d39f38171b437 (patch)
tree60dcac76a89b3294c5b3be560be0d852e50c12e7 /doc
parentcd8d09337ba3108f46acbb5cfcd6a99ddb4b321e (diff)
downloadhercules-9d1f80ecdf9a65012525bc1c8f1d39f38171b437.tar.gz
hercules-9d1f80ecdf9a65012525bc1c8f1d39f38171b437.tar.bz2
hercules-9d1f80ecdf9a65012525bc1c8f1d39f38171b437.tar.xz
hercules-9d1f80ecdf9a65012525bc1c8f1d39f38171b437.zip
Modified successrefitem script command
Added a new optional parameter to specify upgrade quantity, so its consistent with downrefitem which provides a optional parameter to specify downgrade quantity. As proposed by kyeme in http://hercules.ws/board/topic/2403-successrefitem/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt12
1 files changed, 4 insertions, 8 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 10f1601c0..6a48692e8 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -4939,21 +4939,17 @@ the command will end silently.
---------------------------------------
-*successrefitem <equipment slot>;
+*successrefitem <equipment slot>{,<upgrade_count>};
This command will refine an item in the specified equipment slot of the
-invoking character by +1. For a list of equipment slots see 'getequipid'.
-This command will not only add the +1, but also display a 'refine success'
+invoking character by +1 (unless <upgrade_count> is specified).
+For a list of equipment slots see 'getequipid'.
+This command will also display a 'refine success'
effect on the character and put appropriate messages into their chat
window. It will also give the character fame points if a weapon reached
+10 this way, even though these will only take effect for blacksmith who
will later forge a weapon.
-The official scripts seems to use the 'successrefitem' command as a
-function instead: 'successrefitem(<number>)' but it returns nothing on the
-stack. This is since jAthena, so probably nobody knows for sure why is it
-so.
-
---------------------------------------
*failedrefitem <equipment slot>;