1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-01-23 07:50:17 +01:00
This commit is contained in:
tenplus1 2024-12-02 06:34:28 +00:00
parent 03ce8ada6b
commit c25975e7ea

View File

@ -19,7 +19,7 @@ end
mobs = { mobs = {
mod = "redo", mod = "redo",
version = "20241201", version = "20241202",
spawning_mobs = {}, spawning_mobs = {},
translate = S, translate = S,
node_snow = has(minetest.registered_aliases["mapgen_snow"]) node_snow = has(minetest.registered_aliases["mapgen_snow"])
@ -900,7 +900,7 @@ local function is_node_dangerous(self, nodename)
-- check for node immunity or special damage -- check for node immunity or special damage
local damage = def.damage_per_second local damage = def.damage_per_second
for n = 1, #mob_object.immune_to do for n = 1, #self.immune_to do
if self.immune_to[n][1] == nodename then if self.immune_to[n][1] == nodename then
damage = self.immune_to[n][2] or 0 ; break damage = self.immune_to[n][2] or 0 ; break