summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-01-12 20:15:09 +0100
committerGitHub <noreply@github.com>2020-01-12 20:15:09 +0100
commit5ee3fcc3fc89304b8be221a9cb1406002ce0b0e3 (patch)
tree46191ecdb7720407eacd36d41ea528767fa9a178 /src/map/atcommand.c
parent8ebb6c6f16aeca5ccd5c2aa9c1b40cbb6e6c82a8 (diff)
parentb2ded23fcbf914b8ca26b270b197aad0598971b9 (diff)
downloadhercules-5ee3fcc3fc89304b8be221a9cb1406002ce0b0e3.tar.gz
hercules-5ee3fcc3fc89304b8be221a9cb1406002ce0b0e3.tar.bz2
hercules-5ee3fcc3fc89304b8be221a9cb1406002ce0b0e3.tar.xz
hercules-5ee3fcc3fc89304b8be221a9cb1406002ce0b0e3.zip
Merge pull request #2285 from bWolfie/hatereset
Adds buildin_resetfeel, buildin_resethate and acmd_hatereset.
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 3684c1d9f..b82224206 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -8300,6 +8300,15 @@ ACMD(feelreset)
return true;
}
+// Reset hatred targets [Wolfie]
+ACMD(hatereset)
+{
+ pc->resethate(sd);
+ clif->message(fd, msg_fd(fd, 979)); // Reset 'Hatred' targets.
+
+ return true;
+}
+
/*==========================================
* AUCTION SYSTEM
*------------------------------------------*/
@@ -10201,6 +10210,7 @@ static void atcommand_basecommands(void)
ACMD_DEF(homshuffle),
ACMD_DEF(showmobs),
ACMD_DEF(feelreset),
+ ACMD_DEF(hatereset),
ACMD_DEF(auction),
ACMD_DEF(mail),
ACMD_DEF2("noks", ksprotection),