diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-17 13:08:35 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-17 13:08:35 -0300 |
commit | 22ceff65d986796ed99062b3ffcfe52bcc4e34a1 (patch) | |
tree | 154a2cd6e4e2726f1f95578d7708624362ab22a0 | |
parent | e3c5b168bf01199fa3b095ac104af05b1ad71a08 (diff) | |
download | serverdata-22ceff65d986796ed99062b3ffcfe52bcc4e34a1.tar.gz serverdata-22ceff65d986796ed99062b3ffcfe52bcc4e34a1.tar.bz2 serverdata-22ceff65d986796ed99062b3ffcfe52bcc4e34a1.tar.xz serverdata-22ceff65d986796ed99062b3ffcfe52bcc4e34a1.zip |
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)
-rw-r--r-- | npc/021-4/main.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |