Issue information

Issue ID
#1838
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Jul 13, 2008 5:40
Last Post
Hercules Elf Bot
Jul 13, 2008 5:40
Confirmation
N/A

Hercules Elf Bot - Jul 13, 2008 5:40

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

Well, I have no problem getskilllv, following the script_command, he returns with the value 0 if the player has the skill, more in this case, he is not returning to 0, when porpoises with a comparator if 0, it appears this error:

CODE
[Error]: script:op_2: invalid data for operator C_LT
[Debug]: Data: C_ARG
[Debug]: Data: number value=10


Sintax:

CODE
if(getskilllv(142) == 0)