Inconsistent behaviour when taking 0 damage #4383

Open
opened 2024-06-03 22:46:52 +02:00 by WillConker · 2 comments
Contributor

VoxeLibre version: 0.87.1

What happened?

With resistance 5 (I think this also happens with good armour), fall damage costs 0hp but it still plays the damage sound and flashes screen red.
On the other hand, damage from mobs (e.g. look at a rover), lava, drowning and harming potions is also 0hp but the damage sound is not played and the screen does not flash red.

What should happen:

The behaviour should be consistent for all damage sources.
Personally I think that damage sound should always be played when the player takes damage, otherwise the knockback from mobs without any damage noise is confusing, and I think this is what MC does.

VoxeLibre version: 0.87.1 ### What happened? With resistance 5 (I think this also happens with good armour), fall damage costs 0hp but it still plays the damage sound ~~and flashes screen red~~. On the other hand, damage from mobs (e.g. look at a rover), lava, drowning and harming potions is also 0hp but the damage sound is not played and the screen does not flash red. ### What should happen: The behaviour should be consistent for all damage sources. Personally I think that damage sound should always be played when the player takes damage, otherwise the knockback from mobs without any damage noise is confusing, and I think this is what MC does.
WillConker added the
bug
unconfirmed
labels 2024-06-03 22:46:52 +02:00
Contributor

I agree, we really need consistency. The red flash, though, is something that comes from the engine. The only time when it doesn't apply is when the player/mob actually doesn't take damage. This can happen under certain circumstances even by falling from huge heights. I've seen this even in Minetest Game, so it's probably an engine issue.

I agree, we really need consistency. The red flash, though, is something that comes from the engine. The only time when it doesn't apply is when the player/mob actually doesn't take damage. This can happen under certain circumstances even by falling from huge heights. I've seen this even in Minetest Game, so it's probably an engine issue.
Author
Contributor

I was wrong, I tested and even when taking fall damage the screen does not flash red if 0 damage was taken. The only inconsistent part is the damage sound.

I was wrong, I tested and even when taking fall damage the screen does not flash red if 0 damage was taken. The only inconsistent part is the damage sound.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#4383
No description provided.