Issue information

Issue ID
#4066
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Feb 22, 2010 3:16
Last Post
Hercules Elf Bot
Mar 5, 2012 15:00
Confirmation
N/A

Hercules Elf Bot - Feb 22, 2010 3:16

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

Hi, I don't know if here is the correct session, but...
The script command 'adopt' only exists in the documentation, I searched it on script.c and it doesn't exist any more, I didn't try to use it in game, but I guess if the command doesn't exists in the script.c it doesn't exists on emulator...

Adopt's Documentation:
CODE
*adopt "<parent name>","<parent name>","<novice name>";
*adopt("<parent name>","<parent name>","<novice name>")

This command will set up a novice as a baby of a married couple. All three are
referred to by character name. The correct variables are set on all three
characters in the same call. The command will unequip anything the novice has
equipped and make them a Job_Baby class, as well as send them a 'your job has
been changed' message.

Beware of calling this from inside a 'callfunc' function, cause upon successful
adoption, this command returns a zero, as if it were a function. This is likely
to screw up execution of a 'return' command. You may try to call it as a
function instead, but it doesn't return anything upon an error, which may also
cause script execution to throw up errors.

Nothing will happen (and nothing will be returned either) if either future
parent is below base level 70 and/or if any of the three characters is not found
online.


This post has been edited by M1dN1ght: Feb 21 2010, 07:17 PM