mirror of
https://github.com/ElCeejo/creatura.git
synced 2025-03-15 04:11:24 +00:00
Fix lava damage
This commit is contained in:
parent
a591c7c69c
commit
2d8c851a33
1 changed files with 1 additions and 1 deletions
|
@ -1266,7 +1266,7 @@ function mob:_vitals()
|
|||
end
|
||||
if (not self.fire_resistance
|
||||
or self.fire_resistance < 1)
|
||||
and minetest.get_item_group(stand_def.name, "fire") > 0
|
||||
and minetest.get_item_group(stand_def.name, "igniter") > 0
|
||||
and stand_def.damage_per_second then
|
||||
local resist = self.fire_resistance or 0.5
|
||||
damage = (damage or 0) + stand_def.damage_per_second * resist
|
||||
|
|
Loading…
Add table
Reference in a new issue