summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-06-15 10:02:20 -0400
committergumi <git@gumi.ca>2018-06-15 10:32:50 -0400
commit340f4ee90ec199aa715cc4cabe8d5e91c90d531c (patch)
treeeb86f75d0744cba1f0f956e6c55fba65fe7e8046 /doc/script_commands.txt
parentdef62fb51d473886e92545e0477c1184ed30f888 (diff)
downloadhercules-340f4ee90ec199aa715cc4cabe8d5e91c90d531c.tar.gz
hercules-340f4ee90ec199aa715cc4cabe8d5e91c90d531c.tar.bz2
hercules-340f4ee90ec199aa715cc4cabe8d5e91c90d531c.tar.xz
hercules-340f4ee90ec199aa715cc4cabe8d5e91c90d531c.zip
add documentation for buildin_setparam
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index dae698702..051c392e5 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -2512,6 +2512,21 @@ Example 3:
---------------------------------------
+*setparam(<parameter number>, <value>{, "<player name>"})
+*setparam(<parameter number>, <value>{, <account id>})
+
+Sets a parameter on the given player. See readparam() for more info about
+parameters. Keep in mind that not all read-able parameters are also set-able.
+
+Parameters that can be modified include:
+
+StatusPoint, BaseLevel, SkillPoint, Zeny, Sex, Weight, MaxWeight, JobLevel,
+BaseExp, JobExp, Hp, MaxHp, Sp, MaxSp, Karma, Manner, Fame, bVit, bDex, bAgi,
+bStr, bInt, bLuk
+
+
+---------------------------------------
+
*getcharid(<type>{, "<character name>"})
This function will return a unique ID number of the invoking character,