Issue information

Issue ID
#4709
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jan 11, 2011 20:50
Last Post
Hercules Elf Bot
Mar 5, 2012 15:27
Confirmation
N/A

Hercules Elf Bot - Jan 11, 2011 20:50

Originally posted by [b]kukuku[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4709

In this code

--------------------------------------------------------------------------------------------
else if ((ep13_yong1 > 49) && (ep13_yong1 < 60)) {
switch(select("Alberta -> 5500z:Prontera -> 5500z:Cancel")) {
case 1:
if (Zeny >= 5500) {
set zeny,zeny-5500;
warp "alberta",117,56;
}
else {
mes "[Cat Hand Agent]";
mes "Don't play with money.";
close;
}
case 2:
if (Zeny >= 5500) {
set zeny,zeny-5500;
warp "prontera",116,72;
}
else {
mes "[Cat Hand Agent]";
mes "Don't play with money.";
close;
}
case 3:
break;
}
--------------------------------------------------------------------------------------------

it falls through and performs two warps in succession, and similarly in all other switch statements in that quest

Probably should add end or close or break statement after the warp ( sorry I don't know scripting language well enough)