diff options
author | shennetsind <ind@henn.et> | 2014-03-22 17:07:13 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-03-22 17:07:13 -0300 |
commit | 2b4d6abbc5baddc2207e73f0b84c7e6c73e271a4 (patch) | |
tree | e8d15f8f4a252cda88f3e3173f366ff9881edc4c /doc/script_commands.txt | |
parent | 9ea7b143192568a259aa6e7e223420e8d5762b9e (diff) | |
parent | d097f2c4b4a31885c6b04f5868563e1f48414192 (diff) | |
download | hercules-2b4d6abbc5baddc2207e73f0b84c7e6c73e271a4.tar.gz hercules-2b4d6abbc5baddc2207e73f0b84c7e6c73e271a4.tar.bz2 hercules-2b4d6abbc5baddc2207e73f0b84c7e6c73e271a4.tar.xz hercules-2b4d6abbc5baddc2207e73f0b84c7e6c73e271a4.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 5e3f62a69..767aa5459 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -522,7 +522,9 @@ JobExp - Amount of job experience points. NextBaseExp - Amount of base experience points needed to reach next level. NextJobExp - Amount of job experience points needed to reach next level. Weight - Amount of weight the character currently carries. + Display as in Weight/10. MaxWeight - Maximum weight the character can carry. + Display as in MaxWeight/10. Sex - 0 if female, 1 if male. Class - Character's job. Upper - 0 if the character is normal class, 1 if advanced, 2 if baby. @@ -2376,6 +2378,11 @@ You can also use this command to get stat values. if (readparam(bVit) > 77) mes "Only people with over 77 Vit are reading this!"; +Example 3: + + // Display your current weight + mes "Your current weight is "+( Weight/10 )+"/"+( MaxWeight/10 ); + --------------------------------------- *getcharid(<type>{,"<character name>"}) @@ -5511,10 +5518,6 @@ Flag 3 is the same as flag 0 in that it saves to the database. However, these skills are ignored when any action is taken that adjusts the skill tree (reset/job change). -Flag 4 is the same as flag 1 in that it saves to the database. However, -these skills are ignored when any action is taken that adjusts the skill -tree (reset/job change). - --------------------------------------- *nude; |