Make zombies and skeletons not float (#4512)

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4512
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
This commit is contained in:
kno10 2024-09-15 23:14:10 +02:00 committed by the-real-herowl
parent ce5eb8d88d
commit 66b7a52d47
4 changed files with 4 additions and 0 deletions

View file

@ -103,6 +103,7 @@ local skeleton = {
return true return true
end, end,
ignited_by_sunlight = true, ignited_by_sunlight = true,
floats = 0,
view_range = 16, view_range = 16,
fear_height = 4, fear_height = 4,
attack_type = "dogshoot", attack_type = "dogshoot",

View file

@ -94,6 +94,7 @@ mcl_mobs.register_mob("mobs_mc:witherskeleton", {
dogshoot_switch = 1, dogshoot_switch = 1,
dogshoot_count_max =0.5, dogshoot_count_max =0.5,
fear_height = 4, fear_height = 4,
floats = 0,
harmed_by_heal = true, harmed_by_heal = true,
fire_resistant = true, fire_resistant = true,
dealt_effect = { dealt_effect = {

View file

@ -134,6 +134,7 @@ mcl_mobs.register_mob("mobs_mc:villager_zombie", {
end, end,
sunlight_damage = 2, sunlight_damage = 2,
ignited_by_sunlight = true, ignited_by_sunlight = true,
floats = 0,
view_range = 16, view_range = 16,
fear_height = 4, fear_height = 4,
harmed_by_heal = true, harmed_by_heal = true,

View file

@ -96,6 +96,7 @@ local zombie = {
}, },
ignited_by_sunlight = true, ignited_by_sunlight = true,
sunlight_damage = 2, sunlight_damage = 2,
floats = 0,
view_range = 16, view_range = 16,
attack_type = "dogfight", attack_type = "dogfight",
harmed_by_heal = true, harmed_by_heal = true,