diff options
author | Joseph Botosh <rumly111@gmail.com> | 2015-08-19 01:54:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-20 19:04:36 +0300 |
commit | f23abf81cd21907117bf4edf0d814d8bef950e13 (patch) | |
tree | 209a9b308a0aebfd26ee7d2aa963a82f1994a1fb /src/actormanager.h | |
parent | 2b0936e4eafee4da5e2ff3c0a7b7fd0df8a9f5c4 (diff) | |
download | ManaVerse-f23abf81cd21907117bf4edf0d814d8bef950e13.tar.gz ManaVerse-f23abf81cd21907117bf4edf0d814d8bef950e13.tar.bz2 ManaVerse-f23abf81cd21907117bf4edf0d814d8bef950e13.tar.xz ManaVerse-f23abf81cd21907117bf4edf0d814d8bef950e13.zip |
/atkhuman now checks teamId and map pvp flag
Diffstat (limited to 'src/actormanager.h')
-rw-r--r-- | src/actormanager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actormanager.h b/src/actormanager.h index e4689bbf2..52aa3dfc8 100644 --- a/src/actormanager.h +++ b/src/actormanager.h @@ -193,6 +193,12 @@ class ActorManager final: public ConfigListener 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. * * \param maxdist maximal distance. If minimal distance is larger, |