Issue information

Issue ID
#4377
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Aug 6, 2010 13:11
Last Post
Hercules Elf Bot
Mar 5, 2012 15:07
Confirmation
N/A

Hercules Elf Bot - Aug 6, 2010 13:11

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

npc/quests/quests_13_2.txt:

man_fild02,146,81,0 script Mysterious Rock#31 844

1978 set .@rhea_ran,rand(1,20);
1979 if (.@rhea_ran < 13) {
1980 getitem 7049,1; //Stone
1981 }
1982 else if (.@rhea_ran == 13) {
1983 getitem 990,1; //Boody_Red
1984 }
1985 else if (.@rhea_ran == 14) {
1986 getitem 991,1; //Crystal_Blue
1987 }
1988 else if (.@rhea_ran == 15) {
1989 getitem 992,1; //Wind_Of_Verdure
1990 }
1991 else if (.@rhea_ran == 16) {
1992 getitem 993,1; //Yellow_Live
1993 }
1994 else if (.@rhea_ran > 17) {
1995 getitem 6080,1; //Manuk_Coin
1996 }
1997 else if (.@rhea_ran > 18) {
1998 getitem 6048,1; //Unidentified_Mineral



the line:
b]1997 else if (.@rhea_ran > 18) {[/b]
1998 getitem 6048,1; //Unidentified_Mineral

be never executed because >17 is before >18

This post has been edited by karmic: Aug 6 2010, 06:31 AM