1
0
Fork 0
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:
SmallJoker 2021-04-05 13:38:50 +02:00 committed by GitHub
parent f0bad0e2ba
commit c11208c4b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;