Jump to content
  • 0

Homunculus Disable


rootKid

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  83
  • Reputation:   11
  • Joined:  11/28/11
  • Last Seen:  

How would I go about making a mapflag to disable homunculus from a map or something like how pets get put back into their eggs in gvg maps option? So lets say you have your homunculus out, you warp to the specified map and in right when you enter that map your homunculus gets put away until you summon it again.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  83
  • Reputation:   11
  • Joined:  11/28/11
  • Last Seen:  

In clif.c, search for:

   if (battle_config.pet_no_gvg && map_flag_gvg(sd->bl.m) && sd->pd)
   {    //Return the pet to egg. [skotlex]
    clif_displaymessage(sd->fd, "Pets are not allowed in Guild Wars.");
    pet_menu(sd, 3); //Option 3 is return to egg.
   }

Add below:

   if(map_flag_gvg(sd->bl.m) && sd->hd) {
    clif_displaymessage(sd->fd, "Homunculus are not allowed in Guild Wars.");
    merc_hom_vaporize(sd,0);
   }

I've tried this but it didn't work, jeez can someone who is good with their SRC help already!? /hum

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   0
  • Joined:  07/24/12
  • Last Seen:  

I am interested in this as well, Can I limit a specific map that when the player warp to the map, it will automatically rest the homunculus?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  83
  • Reputation:   11
  • Joined:  11/28/11
  • Last Seen:  

Yeah that is exactly what I would like also! /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  83
  • Reputation:   11
  • Joined:  11/28/11
  • Last Seen:  

BUMP

I'm still looking for this. Someone please aid us! /pif

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

this should do it.

clif.c

//homunculus [blackhole89]
if( merc_is_hom_active(sd->hd) )
{

+if(map_flag_gvg(sd->bl.m)) {
+clif_displaymessage(sd->fd, "Homunculus are not allowed in Guild Wars.");
+merc_hom_vaporize(sd,0);
+}

map_addblock(&sd->hd->bl);
clif_spawn(&sd->hd->bl);
clif_send_homdata(sd,SP_ACK,0);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...