From f23abf81cd21907117bf4edf0d814d8bef950e13 Mon Sep 17 00:00:00 2001 From: Joseph Botosh Date: Wed, 19 Aug 2015 01:54:34 +0300 Subject: /atkhuman now checks teamId and map pvp flag --- src/actormanager.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/actormanager.h') diff --git a/src/actormanager.h b/src/actormanager.h index e4689bbf2..52aa3dfc8 100644 --- a/src/actormanager.h +++ b/src/actormanager.h @@ -192,6 +192,12 @@ class ActorManager final: public ConfigListener Being *findMostDamagedPlayer(const int maxTileDist) const A_WARN_UNUSED; + /** + * Finds the nearest player who has PVP on, + * or just the nearest player if map pvp is on + */ + Being *findNearestPvpPlayer() const A_WARN_UNUSED; + /** * Heal all players in distance. * -- cgit v1.2.3-70-g09d2