From ceffb9d171ae8b0347b6ff5819847befa4e2a7b4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 1 Jul 2020 00:39:20 -0300 Subject: Ben will need a rewrite to stop using mlearn() directly --- db/constants.conf | 1 + npc/015-2/ben.txt | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/db/constants.conf b/db/constants.conf index 80cc72acd..e96d9c071 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -2589,6 +2589,7 @@ constants_db: { CLASS_DESTRUCTION: 3 CLASS_TRICKS: 4 CLASS_SCHOLARSHIP: 5 + CLASS_THIEVES: 6 @include "conf/import/constants.conf" } diff --git a/npc/015-2/ben.txt b/npc/015-2/ben.txt index bbe2405d1..17a1b4dfb 100644 --- a/npc/015-2/ben.txt +++ b/npc/015-2/ben.txt @@ -107,6 +107,22 @@ L_Menu: if (Mobpt < 1000) close; next; + /* + menuint + rif(getskilllv(TF_STEAL), l("Stealing")), TF_STEAL, + rif(getskilllv(TF_STEAL), l("Stealing")), ALL_INCCARRY, + rif(getskilllv(TF_STEAL), l("Stealing")), MC_OVERCHARGE, + l("None at the moment."), 0; + + // Handle result + if (@menuret) { + if (!learn_magic(@menuret)) + mesc l("You do not meet all requisites for this skill."), 1; + } else { + close; + } + */ + select rif(getskilllv(TF_STEAL), l("Improve Stealing to level ")+(getskilllv(TF_STEAL)+1)), rif(getskilllv(ALL_INCCARRY), l("Improve Max Weight to level ")+(getskilllv(ALL_INCCARRY)+1)), -- cgit v1.2.3-70-g09d2