Issue information

Issue ID
#1473
Status
Fixed
Severity
None
Started
Hercules Elf Bot
May 7, 2008 14:25
Last Post
Hercules Elf Bot
Feb 21, 2012 9:15
Confirmation
N/A

Hercules Elf Bot - May 7, 2008 14:25

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

I found a problem in the signquest where people can get 9 sobbing starlights.

Once you have to refine the starlights, the engel takes 5 starlights from you.

When it succeeds to refine them, all your startlights gets deleted.
When it fails you get 7 back in return, while this should be 5, because you still have 2 left in your inventory.

Below you will find the source where it goes wrong.
Please change this in the latest SVN. (IMG:style_emoticons/default/wink.gif)

QUOTE
mes "[Engel]";
mes "Well then...";
mes "I wish you safety";
mes "in your travels.";
delitem 7177,5; //we'll delete all sobbing pieces later
getitem 7278,1;
set signquest,19;
close;

L_Refine:
if (signanvil == 1) set @signrefine,rand(100);
if (signanvil == 2) set @signrefine,rand(60);
if (signanvil == 3) set @signrefine,rand(40);
if (signanvil == 4) set @signrefine,rand(30);
mes "[Engel]";
mes "Are you back already?";
if (@signrefine <= 30) goto L_Success;
mes "I am sorry but I failed";
mes "restoring the Sobbing";
mes "Starlight.. But it isn't";
mes "a failure, bring me back";
mes "the materials and I'll";
mes "try again.";
getitem 7177,7; // this should be 5
set signquest,22;
close;

L_Success:
delitem 7177,countitem(7177); //we delete all the pieces, or else u can't reborn
mes "While you were gone, I managed to";
mes "restore the Sobbing Starlight. Why";
mes "don't you go ahead and take a";
mes "look?";
next;


This post has been edited by Wouter2004: May 8 2008, 12:08 AM