Jump to content
  • 0
Sign in to follow this  
themon

homunculus and pet Intimacy command?

Question

is there a gm command or skill to increase intimacy of Homunculus or pet?

 

like example

 

  Id: 7224
 AegisName: "Stone_Of_Intelligence"
 Name: "Stone of Sage"
 Type: 11
 Buy: 0
 Weight: 10
 Script: <" itemskill "PET_INTIMATE",91000; ">

 

or gm command

 

@h_intimate 1000

@p_intimate 1000

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

 

@petfriendly <0-1000>Sets the intimacy level of your pet, with 1000 being "Loyal".  @homfriendly <0-1000>Sets the intimacy level of your homunculus, with 1000 being "Loyal".

 

?

Share this post


Link to post
Share on other sites
  • 0

 

@petfriendly <0-1000>Sets the intimacy level of your pet, with 1000 being "Loyal".  @homfriendly <0-1000>Sets the intimacy level of your homunculus, with 1000 being "Loyal".

 

?

is that existing? where to find it?

Share this post


Link to post
Share on other sites
  • 0

yes it still exists 

 

doc/atcommand.txt

---------------------------------------@petfriendly <0-1000>Sets the intimacy level of your pet, with 1000 being "Loyal".---------------------------------------@homfriendly <0-1000>Sets the intimacy level of your homunculus, with 1000 being "Loyal".--------------------------------------- 

 

src/map/atcommand.c

ACMD(petfriendly){	int friendly;	struct pet_data *pd;		if (!message || !*message || (friendly = atoi(message)) < 0) {		clif->message(fd, msg_txt(1016)); // Please enter a valid value (usage: @petfriendly <0-1000>).		return false;	}		pd = sd->pd;	if (!pd) {		clif->message(fd, msg_txt(184)); // Sorry, but you have no pet.		return false;	}		if (friendly < 0 || friendly > 1000)	{		clif->message(fd, msg_txt(37)); // An invalid number was specified.		return false;	}		if (friendly == pd->pet.intimate) {		clif->message(fd, msg_txt(183)); // Pet intimacy is already at maximum.		return false;	}		pet->set_intimate(pd, friendly);	clif->send_petstatus(sd);	clif->message(fd, msg_txt(182)); // Pet intimacy changed.	return true;}ACMD(homfriendly){	int friendly = 0;			if ( !homun_alive(sd->hd) ) {		clif->message(fd, msg_txt(1254)); // You do not have a homunculus.		return false;	}		if (!message || !*message) {		clif->message(fd, msg_txt(1258)); // Please enter a friendly value (usage: @homfriendly <friendly value [0-1000]>).		return false;	}		friendly = atoi(message);	friendly = cap_value(friendly, 0, 1000);		sd->hd->homunculus.intimacy = friendly * 100 ;	clif->send_homdata(sd,SP_INTIMATE,friendly);	return true;}

Share this post


Link to post
Share on other sites
  • 0

thanks! Mhalicot

 

now how can I make it to be use as an item?

 

  Id: 7224

 AegisName: "Stone_Of_Intelligence"

 Name: "Stone of Sage"

 Type: 11

 Buy: 0

 Weight: 10

 Script: <" itemskill "@homfriendly",1000; ">

Edited by themon

Share this post


Link to post
Share on other sites
  • 0

 

try to use 

 

atcommand "@homfriendly 1000";

nope don't work

Share this post


Link to post
Share on other sites
  • 0

 

 

try to use 

 

atcommand "@homfriendly 1000";

nope don't work

when i use that command, nothing happens. :(

 

EDIT: Sorry about that, it does work.

Edited by Leecher

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.