From 1a1c11ced8ee5dccd694862bab0ff9560223df58 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 24 Aug 2019 17:01:35 -0300 Subject: NEW THIEF SKILL (Rank 4): BARTER/OVERCHARGE (Sell (stolen or not) stuff for more GP) --- npc/015-2/ben.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/npc/015-2/ben.txt b/npc/015-2/ben.txt index d64a9619f..0428a3155 100644 --- a/npc/015-2/ben.txt +++ b/npc/015-2/ben.txt @@ -37,6 +37,7 @@ L_Quest: mesq l("Congrats! You rank up! You are now a(n) @@!", thiefrank()); if (THIEF_RANK == 2) goto L_Rank2; if (THIEF_RANK == 3) goto L_Rank3; + if (THIEF_RANK == 4) goto L_Rank4; } else { mesn; mesq l("Well, you need more experience. Keep trying!"); @@ -85,6 +86,18 @@ L_Rank3: mesq l("You now gained two extra kilograms to your weight quota! Ka-pow, that's fantastic! Good luck!"); close; +// Learn OVERCHARGE +L_Rank4: + skill(MC_OVERCHARGE,1,0); + next; + mesn; + mesq l("Now, you'll learn an important trick! Stealing is nice, but scamming is even better!"); + mesc l("We must blame Saulc!"); + next; + mesn; + mesq l("This new skill will allow you to pinch every gold piece from a NPC when selling stuff! Ka-pow, now you can steal items and resell them for moar GP! AMAZING!"); + close; + // Allow to level up thief skills L_Menu: next; @@ -97,6 +110,7 @@ L_Menu: 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), + rif(getskilllv(MC_OVERCHARGE), l("Improve Barter to level ")+getskilllv(MC_OVERCHARGE)+1), l("None at the moment."); mes ""; // BlueCoral, {CrocClaw, OceanCrocClaw: Empty Box}, PlushroomBox @@ -113,6 +127,12 @@ L_Menu: else Mobpt-=1000; break; + case 3: + if (!mlearn(MC_OVERCHARGE, 8, 1, PlushroomBox, 2*getskilllv(MC_OVERCHARGE))) // Max 21% discount (out of 24%) + mesc l("You do not meet all requisites for this skill."), 1; + else + Mobpt-=1000; + break; case 3: close; } -- cgit v1.2.3-70-g09d2