HerculesWS/Hercules

Add constants to gethominfo

Closed this issue · 0 comments

We have constants for both getmercinfo and getpetinfo

But we don't have any for gethominfo:

---------------------------------------

*gethominfo(<type>)

This function works as a direct counterpart of 'getpetinfo':
 0 - Homunculus unique ID
 1 - Homunculus Class
 2 - Name
 3 - Friendly level (intimacy score). 100000 is full loyalty.
 4 - Hungry level. 100 is completely full.
 5 - Rename flag. 0 means this homunculus has not been named yet.
 6 - Homunculus level

If the attached player doesn't own a homunculus, this command will return
"null" for type 2, and return 0 for other types.

---------------------------------------

and that is my suggestion, as the topic title says.