summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-08-09 20:42:29 +0200
committerHaru <haru@dotalux.com>2015-08-09 21:14:01 +0200
commit7e93d08a79521d18fcf5dacb5c43db6b277c79ac (patch)
tree7c7a4e206efdc45cab54e570d7e45956a5a9e27e
parentf4e42c64b8f72cc6bc4ce6502e2bdd370824a811 (diff)
downloadhercules-7e93d08a79521d18fcf5dacb5c43db6b277c79ac.tar.gz
hercules-7e93d08a79521d18fcf5dacb5c43db6b277c79ac.tar.bz2
hercules-7e93d08a79521d18fcf5dacb5c43db6b277c79ac.tar.xz
hercules-7e93d08a79521d18fcf5dacb5c43db6b277c79ac.zip
Removed deprecated script command checkre
- Follow-up to ca877ecbef0d3fe8df1b69fcaa9e72693c104f02 Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--doc/script_commands.txt24
-rw-r--r--src/map/script.c1
2 files changed, 0 insertions, 25 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index e190c5cff..ba85c917f 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -3982,30 +3982,6 @@ night mode or day mode:
if (!isnight()) 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 the type parameter.
-
- 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_EDP (renewal enchant deadly poison algorithm)
- 6 - RENEWAL_ASPD (renewal ASPD)
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @ /!\ This command is deprecated @
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-
-This command is deprecated and it should not be used in new scripts, as it
-is likely to be removed at a later time. Please consider using the respective
-constants RENEWAL, RENEWAL_CAST, RENEWAL_DROP, RENEWAL_EXP, RENEWAL_LVDMG,
-RENEWAL_EDP, RENEWAL_ASPD instead.
-
----------------------------------------
//=====================================
3.1 - Checking Item-Related Commands
//=====================================
diff --git a/src/map/script.c b/src/map/script.c
index e7a0175c7..4c669bf20 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -20277,7 +20277,6 @@ void script_parse_builtin(void) {
BUILDIN_DEF(makerune,"i"),
BUILDIN_DEF(hascashmount,""),//[Ind]
BUILDIN_DEF(setcashmount,""),//[Ind]
- BUILDIN_DEF_DEPRECATED(checkre,"i"), // Deprecated 2015-05-08 [Haru]
/**
* rAthena and beyond!
**/