From b2ded23fcbf914b8ca26b270b197aad0598971b9 Mon Sep 17 00:00:00 2001 From: EyesOfAHawk Date: Tue, 16 Oct 2018 19:58:06 +1300 Subject: Adds buildin_resetfeel, buildin_resethate and acmd_hatereset. --- src/map/atcommand.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/map/atcommand.c') 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), -- cgit v1.2.3-70-g09d2