summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r--npc/functions/util.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 73218f5f9..2abb6c9bc 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -733,7 +733,7 @@ function script learn_magic {
// Max level reached
if (getskilllv(.@ski) >= .@mlv) {
mesc l("You've reached the maximum level for this skill."), 1;
- return false;
+ return true;
}
// Skill level check
@@ -766,7 +766,7 @@ function script mlearn {
.@ap=getarg(5, 0);
// Max level reached
if (getskilllv(.@sk) >= .@ff) {
- return false;
+ return true;
}
// Not enough items
if (countitem(.@it) < .@am && !(countitem(ScholarshipBadge)))