From 9da4ca39423bcbb0639918c453827783e59e9e4d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 1 Jul 2020 00:51:28 -0300 Subject: Disclaim pre-requisites --- npc/functions/util.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'npc/functions') 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; } } -- cgit v1.2.3-60-g2f50