summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-01 00:51:28 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-01 00:51:28 -0300
commit9da4ca39423bcbb0639918c453827783e59e9e4d (patch)
tree639a1703163f5a4df97cbddacf74f1a9b995daa7 /npc/functions/util.txt
parent8c95871043d21d290b54cad0101bf5eb344d95c7 (diff)
downloadserverdata-9da4ca39423bcbb0639918c453827783e59e9e4d.tar.gz
serverdata-9da4ca39423bcbb0639918c453827783e59e9e4d.tar.bz2
serverdata-9da4ca39423bcbb0639918c453827783e59e9e4d.tar.xz
serverdata-9da4ca39423bcbb0639918c453827783e59e9e4d.zip
Disclaim pre-requisites
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;
}
}