diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-11-09 17:14:39 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-11-09 17:14:39 -0300 |
commit | 3f8a4f8270c388dd27ed0df257a12463ec5f2061 (patch) | |
tree | 3bc0dbeaabc67eb98f3d6dbbdcefddb7176174d5 /npc | |
parent | f209136a0fceb83c8265e7394a43c4ddd6681442 (diff) | |
download | serverdata-3f8a4f8270c388dd27ed0df257a12463ec5f2061.tar.gz serverdata-3f8a4f8270c388dd27ed0df257a12463ec5f2061.tar.bz2 serverdata-3f8a4f8270c388dd27ed0df257a12463ec5f2061.tar.xz serverdata-3f8a4f8270c388dd27ed0df257a12463ec5f2061.zip |
Gem Powder making in Halinarzo
Diffstat (limited to 'npc')
-rw-r--r-- | npc/009-3/kevin.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/npc/009-3/kevin.txt b/npc/009-3/kevin.txt index cc51384f2..a883c8e08 100644 --- a/npc/009-3/kevin.txt +++ b/npc/009-3/kevin.txt @@ -42,9 +42,10 @@ L_ConfirmReset: goto L_Quit; L_Powder: + .@price=POL_AdjustPrice(800); mes ""; mesn; - mesq l("To make @@ I need one from each gem powders, and 800 GP for commission.", getitemlink(GemPowder)); + mesq l("To make @@ I need one from each gem powders, and @@ GP for commission.", getitemlink(GemPowder), .@price); next; select l("Yeah, I need one."), @@ -63,7 +64,7 @@ L_Powder: countitem(SapphirePowder) && countitem(TopazPowder) && countitem(AmethystPowder) && - Zeny >= 800) { + Zeny >= .@price) { inventoryplace GemPowder, 1; delitem DiamondPowder, 1; @@ -72,9 +73,9 @@ L_Powder: delitem SapphirePowder, 1; delitem TopazPowder, 1; delitem AmethystPowder, 1; - Zeny=Zeny-800; + POL_PlayerMoney(.@price); getitem GemPowder, 1; - getexp rand(6,18), rand(6,18); + getexp rand2(6,18), rand2(6,18); mesn; mesq l("Thanks! Here you go. Perhaps you need another one?"); @@ -82,7 +83,7 @@ L_Powder: goto L_Powder; } else { mesn; - mesq l("Sorry, but I need one of each gem powder, and 800 GP."); + mesq l("Sorry, but I need one of each gem powder, and %d GP.", .@price); next; } goto L_Menu; |