diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-07-01 00:39:20 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-07-01 00:39:20 -0300 |
commit | ceffb9d171ae8b0347b6ff5819847befa4e2a7b4 (patch) | |
tree | 8d6f22cd494f245f77060535e12c76d8715e4386 | |
parent | 66b36e79ce5ee8f8e461b52a5247e3cad5a16b94 (diff) | |
download | serverdata-ceffb9d171ae8b0347b6ff5819847befa4e2a7b4.tar.gz serverdata-ceffb9d171ae8b0347b6ff5819847befa4e2a7b4.tar.bz2 serverdata-ceffb9d171ae8b0347b6ff5819847befa4e2a7b4.tar.xz serverdata-ceffb9d171ae8b0347b6ff5819847befa4e2a7b4.zip |
Ben will need a rewrite to stop using mlearn() directly
-rw-r--r-- | db/constants.conf | 1 | ||||
-rw-r--r-- | npc/015-2/ben.txt | 16 |
2 files changed, 17 insertions, 0 deletions
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)), |