From 16b5c64933bf29d8e56e0d989ebab18ddae143a8 Mon Sep 17 00:00:00 2001 From: Joseph Botosh Date: Tue, 17 Feb 2015 21:47:01 +0200 Subject: Add key to heal most damaged player --- src/actormanager.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/actormanager.h') diff --git a/src/actormanager.h b/src/actormanager.h index c3fc8d195..411129e3b 100644 --- a/src/actormanager.h +++ b/src/actormanager.h @@ -172,6 +172,11 @@ class ActorManager final: public ConfigListener const ActorType::Type &type = 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. * -- cgit v1.2.3-70-g09d2