mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
Game: Scale damage flash to max HP
The flash intensity is calculated proportionally to the maximal HP.
This commit is contained in:
parent
f0bad0e2ba
commit
c11208c4b5
2 changed files with 10 additions and 4 deletions
|
@ -174,6 +174,8 @@ public:
|
|||
|
||||
const bool isImmortal();
|
||||
|
||||
inline const ObjectProperties &getProperties() const { return m_prop; }
|
||||
|
||||
scene::ISceneNode *getSceneNode() const;
|
||||
|
||||
scene::IAnimatedMeshSceneNode *getAnimatedMeshSceneNode() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue