summaryrefslogtreecommitdiff
path: root/npc/quests/quests_lighthalzen.txt
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/quests/quests_lighthalzen.txt
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/quests/quests_lighthalzen.txt')
-rw-r--r--npc/quests/quests_lighthalzen.txt36
1 files changed, 27 insertions, 9 deletions
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...?";