summaryrefslogtreecommitdiff
path: root/npc/cities
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-04 04:24:50 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-04 04:24:50 +0000
commit5a0c79ee6c863ffeed86c325d4ecd7708cc12b58 (patch)
tree52dbf8bb745aa0c3770168ca2776d5ecee956df3 /npc/cities
parentfbe26be93ce4bd3020d63e80d432ac0f91262831 (diff)
downloadhercules-5a0c79ee6c863ffeed86c325d4ecd7708cc12b58.tar.gz
hercules-5a0c79ee6c863ffeed86c325d4ecd7708cc12b58.tar.bz2
hercules-5a0c79ee6c863ffeed86c325d4ecd7708cc12b58.tar.xz
hercules-5a0c79ee6c863ffeed86c325d4ecd7708cc12b58.zip
- Added a missing zeny check in the Jawaii Bartender. (bugreport:2897)
- Added a missing 'close' in the Mage quest Bookshelf. (bugreport:2873) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13727 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/cities')
-rw-r--r--npc/cities/jawaii.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/npc/cities/jawaii.txt b/npc/cities/jawaii.txt
index cafe6569d..a80fb4adc 100644
--- a/npc/cities/jawaii.txt
+++ b/npc/cities/jawaii.txt
@@ -891,9 +891,7 @@ jawaii_in,28,124,0 script Bartender#jaw 46,{
percentheal -100,0;
end;
}
- if (Zeny >= 100) {
- set zeny,zeny-100;
- }
+ if (zeny > 99) set zeny,zeny-100;
switch(rand(4)) {
case 1:
mes "[Bartender]";
@@ -1103,7 +1101,7 @@ S_KillChar:
percentheal -100,0;
end;
}
- set zeny,zeny-100;
+ if (zeny > 99) set zeny,zeny-100;
set .@roof_jaw,.@roof_jaw+getarg(0);
mes "[Bartender]";
mes "There you go.";