summaryrefslogtreecommitdiff
path: root/src/actormanager.h
diff options
context:
space:
mode:
authorJoseph Botosh <rumly111@gmail.com>2015-02-17 21:47:01 +0200
committerAndrei Karas <akaras@inbox.ru>2015-02-18 00:27:16 +0300
commit16b5c64933bf29d8e56e0d989ebab18ddae143a8 (patch)
tree47c04e88add47a5198a9f057930687f83afeb056 /src/actormanager.h
parent0d355e3126ab7e0a88bd8e54ce724498f6828c01 (diff)
downloadmv-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.h5
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,