summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authordaegaladh <daegaladh@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-23 01:10:15 +0000
committerdaegaladh <daegaladh@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-23 01:10:15 +0000
commit14aca94442c6b6cd353373dd33b45423575f48d2 (patch)
treeee68b24078e54d3b942346d1d4d396e996860fbd /doc
parent19e9032d813623294128b6a2ad02037116c1d5b7 (diff)
downloadhercules-14aca94442c6b6cd353373dd33b45423575f48d2.tar.gz
hercules-14aca94442c6b6cd353373dd33b45423575f48d2.tar.bz2
hercules-14aca94442c6b6cd353373dd33b45423575f48d2.tar.xz
hercules-14aca94442c6b6cd353373dd33b45423575f48d2.zip
Added checkre() script command, which allows to check if a renewal feature is enabled or not.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16478 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index cd9ca5f0b..e048707ba 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -3597,6 +3597,22 @@ more:
if (isnight()!=1) mes "I only prowl in the night.";
---------------------------------------
+
+*checkre(<type>)
+
+Checks if a renewal feature is enabled or not in renewal.h, and returns 1 if enabled and 0 for disabled.
+The renewal feature to check is determined by type.
+
+ 0 - RENEWAL (game renewal server mode)
+ 1 - RENEWAL_CAST (renewal cast time)
+ 2 - RENEWAL_DROP (renewal drop rate algorithms)
+ 3 - RENEWAL_EXP (renewal exp rate algorithms)
+ 4 - RENEWAL_LVDMG (renewal level modifier on damage)
+ 5 - RENEWAL_CAST_VMIN (renewal cast time variable cast requirement)
+ 6 - RENEWAL_EDP (renewal enchant deadly poison algorithm)
+ 7 - RENEWAL_ASPD (renewal ASPD)
+
+---------------------------------------
\\
3,1.- Item-related commands
\\