diff options
author | Joseph Botosh <rumly111@gmail.com> | 2015-02-17 21:47:01 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-18 00:27:16 +0300 |
commit | 16b5c64933bf29d8e56e0d989ebab18ddae143a8 (patch) | |
tree | 47c04e88add47a5198a9f057930687f83afeb056 /src/actormanager.h | |
parent | 0d355e3126ab7e0a88bd8e54ce724498f6828c01 (diff) | |
download | mv-16b5c64933bf29d8e56e0d989ebab18ddae143a8.tar.gz mv-16b5c64933bf29d8e56e0d989ebab18ddae143a8.tar.bz2 mv-16b5c64933bf29d8e56e0d989ebab18ddae143a8.tar.xz mv-16b5c64933bf29d8e56e0d989ebab18ddae143a8.zip |
Add key to heal most damaged player
Diffstat (limited to 'src/actormanager.h')
-rw-r--r-- | src/actormanager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/actormanager.h b/src/actormanager.h index c3fc8d195..411129e3b 100644 --- a/src/actormanager.h +++ b/src/actormanager.h @@ -173,6 +173,11 @@ class ActorManager final: public ConfigListener = ActorType::Unknown) const A_WARN_UNUSED; /** + * Finds most damaged player, non-enemy and alive + */ + Being *findMostDamagedPlayer() const A_WARN_UNUSED; + + /** * Heal all players in distance. * * \param maxdist maximal distance. If minimal distance is larger, |