Fire and Cactus does not deal damage when wearing too much armor #635

Open
opened 2020-02-21 17:07:35 +01:00 by wuniversales · 7 comments

Just burn the trees, and the vegetation, living things can pass through the fire without burning.

Just burn the trees, and the vegetation, living things can pass through the fire without burning.
wuniversales changed title from The fire does not burn to The fire does not burn the character 2020-02-21 18:06:32 +01:00
wuniversales changed title from The fire does not burn the character to The fire does not burn anyone 2020-02-22 12:21:37 +01:00
Wuzzy added the
needs more information
label 2020-02-23 15:30:34 +01:00
Member

Living things (players and most mobs) take 1 fire damage per second. I don't see your problems.

Some mobs are immune to fire, however (like the blaze or zombie pigman).

Living things (players and most mobs) take 1 fire damage per second. I don't see your problems. Some mobs are immune to fire, however (like the blaze or zombie pigman).
Author

It seems that if I burn the animals, I don't burn myself.
I am not in creative mode and I have the option to allow damage.

https://i.imgur.com/eJUU4A3.png

I can stay as long as I want, I don't burn.


I update, now if it burns me.

I don't know if it's a mistake, since the option to receive damage has always been activated


Updated again.

I do not burn.

I don't know what the bug is, but right now I don't burn.

I have creatively used a fireball that really doesn't burn anyone (neither me nor the animals).

In case it is relevant, a flame has been on top of the game without burning, and subsequently, no animals / monsters (not even myself) are burned.

It seems that if I burn the animals, I don't burn myself. I am not in creative mode and I have the option to allow damage. https://i.imgur.com/eJUU4A3.png I can stay as long as I want, I don't burn. ----------------------------------------- I update, now if it burns me. I don't know if it's a mistake, since the option to receive damage has always been activated ----------------------------------------- Updated again. I do not burn. I don't know what the bug is, but right now I don't burn. I have creatively used a fireball that really doesn't burn anyone (neither me nor the animals). In case it is relevant, a flame has been on top of the game without burning, and subsequently, no animals / monsters (not even myself) are burned.
Member

I think I know the reason. You have full diamond armor, which now protects you.

I think no armor should protect from fire …

I think I know the reason. You have full diamond armor, which now protects you. I think no armor should protect from fire …
Wuzzy added
gameplay
items
and removed
needs more information
labels 2020-03-02 16:37:18 +01:00
Wuzzy changed title from The fire does not burn anyone to Fire does not deal damage when wearing too much armor 2020-03-02 16:37:34 +01:00
Author

I just checked, yes, that's the problem.

I just checked, yes, that's the problem.
wuniversales changed title from Fire does not deal damage when wearing too much armor to Fire does not deal damage when wearing too much armor - Contribution 2020-03-22 17:43:03 +01:00
Author

I've fixed the problem (At least apparently)
I've changed this line...

if reason.type == "set_hp" or reason.type == "drown" or reason.type == "fall" then

For this...

if reason.type == "set_hp" or reason.type == "drown" or reason.type == "fall" or reason.type == "node_damage" then

In the files "/mods/ITEMS/mcl_armor/armor.lua"

I do not know exactly how this forks work, I hope I have done well.

Fork: fd9ae1e95e

I've fixed the problem (At least apparently) I've changed this line... ``` if reason.type == "set_hp" or reason.type == "drown" or reason.type == "fall" then ``` For this... ``` if reason.type == "set_hp" or reason.type == "drown" or reason.type == "fall" or reason.type == "node_damage" then ``` In the files **"/mods/ITEMS/mcl_armor/armor.lua"** **I do not know exactly how this forks work, I hope I have done well.** Fork: https://git.minetest.land/wuniversales/MineClone2/commit/fd9ae1e95e0bac7290aba0fc3e56c40e66367bb1
Member

Hmmm, acutally, I do want node damage to still apply …
I need to think of a different solution.

Hmmm, acutally, I do want node damage to still apply … I need to think of a different solution.
Wuzzy changed title from Fire does not deal damage when wearing too much armor - Contribution to Fire does not deal damage when wearing too much armor 2020-03-24 20:30:35 +01:00
Author

Related to this, cacti don't hurt either.

Related to this, cacti don't hurt either.
wuniversales changed title from Fire does not deal damage when wearing too much armor to Fire and Cactus does not deal damage when wearing too much armor 2020-03-25 23:07:18 +01:00
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#635
No description provided.