Issue information

Issue ID
#4089
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Mar 5, 2010 15:53
Last Post
Hercules Elf Bot
Mar 5, 2012 15:49
Confirmation
N/A

Hercules Elf Bot - Mar 5, 2010 15:53

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

CODE
[CODE] switch( select( "Rybio.", "Injustice.", "Phendark.", "Zealotus." ) )
{
case 1:
mes "Rybio.";
break;

case 2:
mes "Injustice.";
break;

case 3:
if((@temp1 == 1 || @temp1 == 2) && @temp2 == 1)
{
mes "[Phendark]";
mes "I can't believe";
mes "something like that!";
mes "Oh, that doesn't matter.";
mes "Zealotus is too good for me.";
mes "I'm not even worthy of tasting";
mes "the sting of her Love Whip.";
emotion e_sob;
close;[/CODE]


It should be:

CODE
[CODE] switch( select( "Rybio.", "Injustice.", "Phendark.", "Zealotus." ) )
{
case 1:
mes "Rybio.";
break;

case 2:
mes "Injustice.";
break;

case 3:
mes "Phendark."; // Bugfix [No Healing]
next;
if((@temp1 == 1 || @temp1 == 2) && @temp2 == 1)
{
mes "[Phendark]";
mes "I can't believe";
mes "something like that!";
mes "Oh, that doesn't matter.";
mes "Zealotus is too good for me.";
mes "I'm not even worthy of tasting";
mes "the sting of her Love Whip.";
emotion e_sob;
close;[/CODE]


(it didn't print the last choice).

CODE
[CODE] case 4:
mes "Zealotus.";
break;
}
switch( select( "Insult him.", "Apologize." ) )
{
case 1:
mes "[" + strcharinfo(0) + "]";
mes "First of all,";
mes "what exactly sets";
mes "you apart from all the";
mes "other eligible monsters";
mes "that she can choose from?";
mes "Not like you're much better...";[/CODE]


there is a "next missing after "Zealotus": it should be:

CODE

[CODE]
case 4:
mes "Zealotus.";
next;
break;
}
switch( select( "Insult him.", "Apologize." ) )
{
case 1:
mes "[" + strcharinfo(0) + "]";
mes "First of all,";
mes "what exactly sets";
mes "you apart from all the";
mes "other eligible monsters";
mes "that she can choose from?";
mes "Not like you're much better...";

[/CODE]

This post has been edited by calciumkid on Dec 8, 2011 10:06

Hercules Elf Bot - Dec 8, 2011 10:13

Originally posted by [b]calciumkid[/b]
Fixed.