diff options
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r-- | npc/functions/main.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 930e5283..1bc4c37b 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -624,3 +624,9 @@ function script updateskill { return; } +function script learnskill { + if (getskilllv(getarg(0)) < getarg(1)) + skill getarg(0), getarg(1), 0; + return; +} + |