From 5a74b05a113c5d0eea21c3d061f44c72f1df2ff7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 11 Apr 2021 11:46:57 -0300 Subject: The meaning of addtoskill is different here; Make a wrapper --- npc/functions/magic.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/functions/magic.txt') diff --git a/npc/functions/magic.txt b/npc/functions/magic.txt index 10f6638d..e0962a15 100644 --- a/npc/functions/magic.txt +++ b/npc/functions/magic.txt @@ -146,7 +146,7 @@ function script SkillUp { goto L_Shortcut; misceffect sfx_skillup, strcharinfo(0); - addtoskill @SUP_id, @SUP_lvl; + updateskill @SUP_id, @SUP_lvl; getexp @SUP_xp, 0; if (@SUP_xp) mes "[" + @SUP_xp + " experience points]"; -- cgit v1.2.3-60-g2f50