diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2014-02-11 01:26:29 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2014-02-11 01:26:29 +0800 |
commit | 1e1b4a6a9286348192e6dcf22b816c01bc6f57b0 (patch) | |
tree | e6329664358e054d499b174858ace0a64ad7f9ac /doc | |
parent | 537e621b81b8fdd8763342703083c1abcfb3cc3a (diff) | |
parent | afb013850baddb26a4600b60c0ee713fb9d05784 (diff) | |
download | hercules-1e1b4a6a9286348192e6dcf22b816c01bc6f57b0.tar.gz hercules-1e1b4a6a9286348192e6dcf22b816c01bc6f57b0.tar.bz2 hercules-1e1b4a6a9286348192e6dcf22b816c01bc6f57b0.tar.xz hercules-1e1b4a6a9286348192e6dcf22b816c01bc6f57b0.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index aa8698418..6a48692e8 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -638,7 +638,7 @@ even a value from an another array) to get at an array value: This will make @arrayofnumbers[100] equal to 10. Notice that index numbering always starts with 0. Arrays can hold over -4 billion variables. +2 billion variables. And array indexes probably can't be negative. Nobody tested what happens when you try to get a negatively numbered variable from an array, but it's @@ -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>; |