From ca877ecbef0d3fe8df1b69fcaa9e72693c104f02 Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 8 May 2015 16:16:40 +0200 Subject: Deprecated command checkre(). - The command is deprecated and it will be removed in about a month. Please use the constants RENEWAL, RENEWAL_CAST, RENEWAL_DROP, RENEWAL_EXP, RENEWAL_LVDMG, RENEWAL_EDP, RENEWAL_ASPD instead. Signed-off-by: Haru --- doc/script_commands.txt | 8 ++++++++ src/map/script.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 3a8ec4fc0..831e0a744 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -3988,6 +3988,14 @@ by the type parameter. 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. --------------------------------------- //===================================== diff --git a/src/map/script.c b/src/map/script.c index ecffeffd8..ed4f9e918 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -20184,7 +20184,7 @@ void script_parse_builtin(void) { BUILDIN_DEF(makerune,"i"), BUILDIN_DEF(hascashmount,""),//[Ind] BUILDIN_DEF(setcashmount,""),//[Ind] - BUILDIN_DEF(checkre,"i"), + BUILDIN_DEF_DEPRECATED(checkre,"i"), // Deprecated 2015-05-08 [Haru] /** * rAthena and beyond! **/ -- cgit v1.2.3-70-g09d2