summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorKisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-11-29 18:36:09 +0000
committerKisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-11-29 18:36:09 +0000
commit9abd4a42416adfd274ba1c10c74fa235ffaad561 (patch)
tree2d4904c05b1242e77b1b9fb320b4c077fe2b2574 /npc
parent5a68da99efb27a92e2dbd2b79c1db1410dd19704 (diff)
downloadhercules-9abd4a42416adfd274ba1c10c74fa235ffaad561.tar.gz
hercules-9abd4a42416adfd274ba1c10c74fa235ffaad561.tar.bz2
hercules-9abd4a42416adfd274ba1c10c74fa235ffaad561.tar.xz
hercules-9abd4a42416adfd274ba1c10c74fa235ffaad561.zip
Bug Fixes:
- Check if user has zeny. (bugreport:2498) - Fixed typo. (bugreport:2473) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13389 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/guides/guides_lhz.txt2
-rw-r--r--npc/quests/quests_lighthalzen.txt36
2 files changed, 28 insertions, 10 deletions
diff --git a/npc/guides/guides_lhz.txt b/npc/guides/guides_lhz.txt
index 7e13464e0..e75dc8240 100644
--- a/npc/guides/guides_lhz.txt
+++ b/npc/guides/guides_lhz.txt
@@ -50,7 +50,7 @@ lighthalzen,207,310,5 script Guide#lhz::LhzGuide 852,{
while(.@loop2) {
if (.@wait_button_chk == 0) set .@wait_button_chk,1;
else next;
- switch(select("^FF0000Rekenber Corporation^000000:Train Staition:Police Station:Bank:Hotel:Airport:Merchant Guild:Jewelry Shop:Weapon Shop:Departement Store:Cancel")) {
+ switch(select("^FF0000Rekenber Corporation^000000:Train Station:Police Station:Bank:Hotel:Airport:Merchant Guild:Jewelry Shop:Weapon Shop:Departement Store:Cancel")) {
case 1:
mes "[Lighthalzen Guide]";
mes "Rekenber Corporation,";
diff --git a/npc/quests/quests_lighthalzen.txt b/npc/quests/quests_lighthalzen.txt
index 842d1bb89..f97b24a86 100644
--- a/npc/quests/quests_lighthalzen.txt
+++ b/npc/quests/quests_lighthalzen.txt
@@ -1793,7 +1793,9 @@ OnTouch:
case 1:
mes "^3355FF*SHHHHHHUK!*^000000";
specialeffect EF_STEAL;
- set zeny,zeny-100;
+ if (zeny >= 100) {
+ set zeny,zeny-100;
+ }
next;
mes "[" + strcharinfo(0) + "]";
mes "Huh...?";
@@ -1807,7 +1809,9 @@ OnTouch:
case 2:
mes "^3355FF*SHHHHHHUK!*^000000";
specialeffect EF_STEAL;
- set zeny,zeny-200;
+ if (zeny >= 200) {
+ set zeny,zeny-200;
+ }
next;
mes "[" + strcharinfo(0) + "]";
mes "Huh...?";
@@ -1822,7 +1826,9 @@ OnTouch:
case 3:
mes "^3355FF*SHHHHHHUK!*^000000";
specialeffect EF_STEAL;
- set zeny,zeny-10;
+ if (zeny >= 10) {
+ set zeny,zeny-10;
+ }
next;
mes "[" + strcharinfo(0) + "]";
mes "Huh...?";
@@ -1860,7 +1866,9 @@ OnTouch:
case 1:
mes "^3355FF*SHHHHHHUK!*^000000";
specialeffect EF_STEAL;
- set zeny,zeny-100;
+ if (zeny >= 100) {
+ set zeny,zeny-100;
+ }
next;
mes "[" + strcharinfo(0) + "]";
mes "Huh...?";
@@ -1874,7 +1882,9 @@ OnTouch:
case 2:
mes "^3355FF*SHHHHHHUK!*^000000";
specialeffect EF_STEAL;
- set zeny,zeny-200;
+ if (zeny >= 200) {
+ set zeny,zeny-200;
+ }
next;
mes "[" + strcharinfo(0) + "]";
mes "Huh...?";
@@ -1889,7 +1899,9 @@ OnTouch:
case 3:
mes "^3355FF*SHHHHHHUK!*^000000";
specialeffect EF_STEAL;
- set zeny,zeny-10;
+ if (zeny >= 10) {
+ set zeny,zeny-10;
+ }
next;
mes "[" + strcharinfo(0) + "]";
mes "Huh...?";
@@ -1927,7 +1939,9 @@ OnTouch:
case 2:
mes "^3355FF*SHHHHHHUK!*^000000";
specialeffect EF_STEAL;
- set zeny,zeny-100;
+ if (zeny >= 100) {
+ set zeny,zeny-100;
+ }
next;
mes "[" + strcharinfo(0) + "]";
mes "Huh...?";
@@ -1942,7 +1956,9 @@ OnTouch:
case 4:
mes "^3355FF*SHHHHHHUK!*^000000";
specialeffect EF_STEAL;
- set zeny,zeny-200;
+ if (zeny >= 200) {
+ set zeny,zeny-200;
+ }
next;
mes "[" + strcharinfo(0) + "]";
mes "Huh...?";
@@ -1957,7 +1973,9 @@ OnTouch:
case 5:
mes "^3355FF*SHHHHHHUK!*^000000";
specialeffect EF_STEAL;
- set zeny,zeny-10;
+ if (zeny >= 10) {
+ set zeny,zeny-10;
+ }
next;
mes "[" + strcharinfo(0) + "]";
mes "Huh...?";