From 14a0487a49e0a0bcba13f370cba8ecfbd5577a97 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 25 Jun 2020 06:40:01 -0300 Subject: Update Trickmaster to new magic learning interface --- npc/functions/util.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/functions/util.txt') 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))) -- cgit v1.2.3-70-g09d2