Issue information

Issue ID
#2358
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Oct 17, 2008 9:43
Last Post
Hercules Elf Bot
Mar 5, 2012 9:18
Confirmation
N/A

Hercules Elf Bot - Oct 17, 2008 9:43

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

The operator used here is clearly wrong. It should not be ||, it should be &&. Otherwise the quest might bug up if you finish a more advanced part of the quest and accidentely return to Elly in the Academy, talk to her, and your quest variable would be set to 26 again. :(

CODE
1495         else if (KielHyreQuest >= 24 || KielHyreQuest <= 26) {
1496         cutin "kh_elly04",2;
1497         mes "[Elly]";
1498         mes "Argh, I'm in a fix!";
1499         mes "I have to finish my";
1500         mes "homework before it's due!";
1501         mes "Yeah, I've got to go see";
1502         mes "Mrs. Lecollane now.";
1503         next;        

[...blablablabla...]

1527         mes "[Elly]";
1528         mes "Hurry, hurry, the";
1529         mes "teacher's coming!";
1530         set KielHyreQuest,26;
1531     }