Issue information

Issue ID
#2271
Status
Unable to Fix
Severity
None
Started
Hercules Elf Bot
Sep 25, 2008 13:52
Last Post
Hercules Elf Bot
Mar 5, 2012 9:08
Confirmation
N/A

Hercules Elf Bot - Sep 25, 2008 13:52

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

This NPC sells Main Gauches [3] in quantity, the problem is that put ALL the gauches in 1 slot.
If you add a card in the stack of gauches you will have 'X' quantity of gauches with the card (once you separate them).

The script says in line 355:

CODE
getitem 1207,.@input; //Main_Gauche


I found a solution that fix the way they are given, replacing the line with:

CODE
        while(.@input>0) {
            getitem 1207,1; //Main_Gauche
            set .@input,.@input-1;
        }


So the NPC gives one in each slot (may be restricting to the available slots?).

This post has been edited by Karaman: Sep 25 2008, 06:56 AM