Issue information

Issue ID
#4177
Status
Fixed
Severity
Medium
Started
Hercules Elf Bot
Apr 7, 2010 21:01
Last Post
Hercules Elf Bot
Apr 7, 2010 21:01
Confirmation
N/A

Hercules Elf Bot - Apr 7, 2010 21:01

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

simple script
CODE
set hp, hp - 1000000000;
and I get gravity error

I dunno its my client caused it, or it happens to all client
but I think the source should counter-check if the set hp stuff going to be negative, put a stop there

CODE
    if ( hp - 1000000000 <= 0 )
        unitkill getcharid(3);
    else
        set hp, hp - 1000000000;
put something like this at the source code, shouldn't be hard ...

This post has been edited by ~AnnieRuru~: Apr 10 2010, 01:42 AM