Jump to content

@hatereset


LCDTheOG

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  222
  • Reputation:   35
  • Joined:  12/13/11
  • Last Seen:  

hey guys, i thought since we have a @feelreset, might as well add an @hatereset ne ways here it is

open your src/map/atcommand.c and search out this line

ACMD_FUNC(feelreset)

you should see something like this

/*==========================================
* Feel (SG save map) Reset [HiddenDragon]
*------------------------------------------*/
ACMD_FUNC(feelreset)
{
   pc_resetfeel(sd);
   clif_displaymessage(fd, "Reset 'Feeling' maps.");

   return 0;
}

and right after the part that says "}" put in this

ACMD_FUNC(hatereset)
{
   pc_resethate(sd);
   clif_displaymessage(fd, "Reset 'Hatered' mobs");

   return 0;
}

then search out the line

ACMD_DEF2("newmount", new_mount),

and directly under that line put

ACMD_DEF(hatereset),

NOTE: if you have any other custom commands added just put it right below the most recent one.

ne ways hope you guys like it ^-^

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
Reply to this topic...

×   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...