LCDTheOG Posted June 6, 2012 Posted June 6, 2012 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 ^-^ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.