ThyroDree 3 Posted December 24, 2013 does hercules have hatredreset? or hatereset? Quote Share this post Link to post Share on other sites
0 pan 87 Posted December 25, 2013 Well there's a way to reset hatred: ACMD(hatereset){ pc->resethate(sd); clif->message(fd, "Reset 'hate' mobs, kicking..."); clif->GM_kick(NULL, sd); return true;}Although I'm not sure if this is going to work... Quote Share this post Link to post Share on other sites
0 pan 87 Posted December 24, 2013 I don't think so, I've just searched Hercules' source and found nothing with any of those names... Quote Share this post Link to post Share on other sites
0 PokemonRO 2 Posted December 24, 2013 set PC_HATE_MOB_SUN,0;set PC_HATE_MOB_MOON,0;set PC_HATE_MOB_STAR,0; Quote Share this post Link to post Share on other sites
0 Mystery 594 Posted December 24, 2013 set PC_HATE_MOB_SUN,0;set PC_HATE_MOB_MOON,0;set PC_HATE_MOB_STAR,0; The only way to Hatred reset from what I know is through an NPC. Quote Share this post Link to post Share on other sites
0 PokemonRO 2 Posted December 24, 2013 set PC_HATE_MOB_SUN,0;set PC_HATE_MOB_MOON,0;set PC_HATE_MOB_STAR,0; The only way to Hatred reset from what I know is through an NPC. You could use a bindatcmd feature to make it into a command, just note that doing it this way requires a player to log off and back on for it to reset properly Quote Share this post Link to post Share on other sites
0 WalkingBad 0 Posted August 25, 2014 sir how can I make this command work?.. or where I am going to add that command? Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted August 25, 2014 Go look in src/map/atcommand.c Basically, add it after another atcommand code has finished (for example, after the ACMD(skdebug) code) and you've got to also add a definition. For adding an atcommand definition, just search this on the file: ACMD_DEF(skdebug), and add an the corresponding definition for the atcommand after it: ACMD_DEF(hatereset), That's it. 2 ShankS and WalkingBad reacted to this Quote Share this post Link to post Share on other sites
0 WalkingBad 0 Posted August 25, 2014 Thank you sir jaBote.. it works Quote Share this post Link to post Share on other sites
does hercules have hatredreset? or hatereset?
Share this post
Link to post
Share on other sites