Issue information

Issue ID
#1698
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Jun 16, 2008 15:05
Last Post
Hercules Elf Bot
Jun 16, 2008 15:05
Confirmation
N/A

Hercules Elf Bot - Jun 16, 2008 15:05

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

The emulator Cronus as ben fixed one bug : Zeny Exploid

https://opensvn.csie.org/traccgi/Cronus/changeset/1951

Server/trunk/src/map/script.c

QUOTE
{
4958 4958 int amount = sd->npc_amount;
4959 sd->npc_amount = cap_value(sd->npc_amount, 0, INT_MAX);
4959 4960 set_reg(st, sd, uid, name, (void*)cap_value(amount,min,max), script_getref(st,2));
4960 4961 script_pushint(st, (amount > max ? 1 : amount < min ? -1 : 0));



there is this bug?