From 22ceff65d986796ed99062b3ffcfe52bcc4e34a1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 17 Sep 2019 13:08:35 -0300 Subject: Don't consume the Key on 021-4, only having it will be enough. Also, money given will increase with your level, although you probably won't notice this. (Level 60 = 600 GP bonus) --- npc/021-4/main.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc') diff --git a/npc/021-4/main.txt b/npc/021-4/main.txt index 862636260..477dbd57d 100644 --- a/npc/021-4/main.txt +++ b/npc/021-4/main.txt @@ -31,7 +31,7 @@ function script CindySwitch_Check_214 { // Switches 021-4,101,33,0 script #CindySwitch_06 NPC_SWITCH_OFFLINE,{ .@q=getq(NivalisQuest_Cindy); - if (.@q < 3) { + if (.@q < 3 || !countitem(TreasureKey)) { mesn strcharinfo(0); mesq l("This is a strange switch..."); close; @@ -218,7 +218,7 @@ L_Winner: if (.@q == 4) { getitem Earmuffs, 1; } else { - Zeny=Zeny+rand(5000,15000); + Zeny=Zeny+rand(min(15000, 5000+BaseLevel*10),15000); getitem TreasureMap, 1; getitem TreasureKey, 1; } -- cgit v1.2.3-60-g2f50