From c11208c4b55bc6b17e523761befed6156027edf9 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Mon, 5 Apr 2021 13:38:50 +0200 Subject: Game: Scale damage flash to max HP The flash intensity is calculated proportionally to the maximal HP. --- src/client/content_cao.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client/content_cao.h') diff --git a/src/client/content_cao.h b/src/client/content_cao.h index 7c134fb48..cc026d34e 100644 --- a/src/client/content_cao.h +++ b/src/client/content_cao.h @@ -174,6 +174,8 @@ public: const bool isImmortal(); + inline const ObjectProperties &getProperties() const { return m_prop; } + scene::ISceneNode *getSceneNode() const; scene::IAnimatedMeshSceneNode *getAnimatedMeshSceneNode() const; -- cgit v1.2.3