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.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 7bcf7718e..9b060898f 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -769,6 +769,8 @@ function script learn_magic {
if (.@pre) {
if (getskilllv(.@pre) < 1) {
mesc l("Pre-requisites not met!"), 1;
+ mesc l("The following skill is needed: %s%s (Lv. %d)",
+ "##9", getskillname(.@pre), 1), 1;
return false;
}
}