summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-24 17:01:35 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-24 17:01:35 -0300
commit1a1c11ced8ee5dccd694862bab0ff9560223df58 (patch)
treec66a16883c713b53101afed6c254e0125e9649c1 /npc
parent0d039697a8d4aca60be42563e15535e810dca039 (diff)
downloadserverdata-1a1c11ced8ee5dccd694862bab0ff9560223df58.tar.gz
serverdata-1a1c11ced8ee5dccd694862bab0ff9560223df58.tar.bz2
serverdata-1a1c11ced8ee5dccd694862bab0ff9560223df58.tar.xz
serverdata-1a1c11ced8ee5dccd694862bab0ff9560223df58.zip
NEW THIEF SKILL (Rank 4): BARTER/OVERCHARGE (Sell (stolen or not) stuff for more GP)
Diffstat (limited to 'npc')
-rw-r--r--npc/015-2/ben.txt20
1 files changed, 20 insertions, 0 deletions
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
@@ -114,6 +128,12 @@ L_Menu:
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;
}
goto L_Menu;