diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-25 06:40:01 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-25 06:40:01 -0300 |
commit | 14a0487a49e0a0bcba13f370cba8ecfbd5577a97 (patch) | |
tree | b782f47b52e5bdbebf6f14f837bb583ae0692767 /npc/functions/util.txt | |
parent | 24bad6a171378e652a71b33a1f4d34549987fa6d (diff) | |
download | serverdata-14a0487a49e0a0bcba13f370cba8ecfbd5577a97.tar.gz serverdata-14a0487a49e0a0bcba13f370cba8ecfbd5577a97.tar.bz2 serverdata-14a0487a49e0a0bcba13f370cba8ecfbd5577a97.tar.xz serverdata-14a0487a49e0a0bcba13f370cba8ecfbd5577a97.zip |
Update Trickmaster to new magic learning interface
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r-- | npc/functions/util.txt | 4 |
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))) |