Bug Fixes:

- Check if user has zeny. (bugreport:2498)
- Fixed typo. (bugreport:2473)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13389 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Kisuka 2008-11-29 18:36:09 +00:00
parent 0e6e32a833
commit 21b9d65513
2 changed files with 28 additions and 10 deletions

View File

@ -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,";

View File

@ -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...?";