diff options
author | mekolat <mekolat@gmail.com> | 2015-04-06 22:42:15 -0400 |
---|---|---|
committer | mekolat <mekolat@gmail.com> | 2015-04-06 22:42:15 -0400 |
commit | 92c2232a9e0160aff8d087086a4e14ec1e322c56 (patch) | |
tree | ae1de19d41124d5aff76ab2d6e730867670a429e /src/map/script-fun.cpp | |
parent | 6f4699ff0c6400a2adc5e4008b2e289737f4a303 (diff) | |
download | tmwa-92c2232a9e0160aff8d087086a4e14ec1e322c56.tar.gz tmwa-92c2232a9e0160aff8d087086a4e14ec1e322c56.tar.bz2 tmwa-92c2232a9e0160aff8d087086a4e14ec1e322c56.tar.xz tmwa-92c2232a9e0160aff8d087086a4e14ec1e322c56.zip |
remove deprecated percentheal
Diffstat (limited to 'src/map/script-fun.cpp')
-rw-r--r-- | src/map/script-fun.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp index 8c25266..52b425a 100644 --- a/src/map/script-fun.cpp +++ b/src/map/script-fun.cpp @@ -427,20 +427,6 @@ void builtin_itemheal(ScriptState *st) *------------------------------------------ */ static -void builtin_percentheal(ScriptState *st) -{ - int hp, sp; - - hp = conv_num(st, &AARG(0)); - sp = conv_num(st, &AARG(1)); - pc_percentheal(script_rid2sd(st), hp, sp); -} - -/*========================================== - * - *------------------------------------------ - */ -static void builtin_input(ScriptState *st) { dumb_ptr<map_session_data> sd = nullptr; @@ -3011,7 +2997,6 @@ BuiltinFunction builtin_functions[] = BUILTIN(areawarp, "MxyxyMxy"_s, '\0'), BUILTIN(heal, "ii"_s, '\0'), BUILTIN(itemheal, "ii"_s, '\0'), - BUILTIN(percentheal, "ii"_s, '\0'), BUILTIN(input, "N"_s, '\0'), BUILTIN(if, "iF*"_s, '\0'), BUILTIN(set, "Ne"_s, '\0'), |