summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-05 14:11:43 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-05 14:11:43 +0000
commitc4c3107d53002da172af6d93e21a8741d9b0b266 (patch)
treec2cd8ea26452fc322adb4e4553685a6f7c88217f /doc
parent4a7dd96086cc2ece33d876671db5b0cb8d82b1ac (diff)
downloadhercules-c4c3107d53002da172af6d93e21a8741d9b0b266.tar.gz
hercules-c4c3107d53002da172af6d93e21a8741d9b0b266.tar.bz2
hercules-c4c3107d53002da172af6d93e21a8741d9b0b266.tar.xz
hercules-c4c3107d53002da172af6d93e21a8741d9b0b266.zip
Changed the 'getpartyleader' script command so that it returns a map name instead of the useless mapindex number.
Also fixed it so that it doesn't throw a 'args of aFree is not valid pointer' error (although I'm not at all sure that the fix is correct). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9787 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 65d61f4ba..212ad25d6 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -2155,18 +2155,19 @@ Example:
*getpartyleader <party id>,[<type>];
-This function returns some information about the given party-id's leader. When type is ommitted,
-the default information retrieved is Character name of the party leader. Possible types are:
+This function returns some information about the given party-id's leader.
+When type is ommitted, the default information retrieved is the leader's name.
+Possible types are:
1: Leader account id
2: Leader character id
3: Leader's class
- 4: Leader's current map index
+ 4: Leader's current map name
5: Leader's current level as stored on the party structure (may not be
current level if leader leveled up recently).
-If retrieval fails (leader not found or party does not exists), "null" is returned instead of character name,
-and -1 is returned for the other types.
+If retrieval fails (leader not found or party does not exist), this function
+returns "null" instead of the character name, and -1 is for the other types.
---------------------------------------
*getguildname(<guild id>)
@@ -3548,7 +3549,8 @@ four values:
- val3 is the second element, val4 is the resistance to said element.
eg: sc_start4 SC_DefEle,60000,Ele_Fire,20,Ele_Water,-15;
-'sc_end' will remove a specified status effect.
+'sc_end' will remove a specified status effect. If SC_All is used (-1), it will
+do a complete removal of all statuses (although permanent ones will re-apply).
You can see the full list of status effects caused by skills in
'src/map/status.h' - they are currently not fully documented, but most of that