1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-18 18:55:29 +02:00

Game: Scale damage flash to max HP

The flash intensity is calculated proportionally to the maximal HP.
This commit is contained in:
SmallJoker
2021-04-05 13:38:50 +02:00
committed by GitHub
parent f0bad0e2ba
commit c11208c4b5
2 changed files with 10 additions and 4 deletions

View File

@@ -174,6 +174,8 @@ public:
const bool isImmortal();
inline const ObjectProperties &getProperties() const { return m_prop; }
scene::ISceneNode *getSceneNode() const;
scene::IAnimatedMeshSceneNode *getAnimatedMeshSceneNode() const;