From 7e93d08a79521d18fcf5dacb5c43db6b277c79ac Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 9 Aug 2015 20:42:29 +0200 Subject: Removed deprecated script command checkre - Follow-up to ca877ecbef0d3fe8df1b69fcaa9e72693c104f02 Signed-off-by: Haru --- doc/script_commands.txt | 24 ------------------------ src/map/script.c | 1 - 2 files changed, 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 @@ -3981,30 +3981,6 @@ night mode or day mode: if (!isnight()) mes "I only prowl in the night."; ---------------------------------------- - -*checkre() - -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! **/ -- cgit v1.2.3-60-g2f50