mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-25 16:31:08 +01:00
Make ghasts not insta-kill
This commit is contained in:
parent
b6f19699e9
commit
dd76b15c50
1 changed files with 3 additions and 3 deletions
|
@ -114,7 +114,7 @@ mobs:register_arrow("mobs_mc:fireball", {
|
||||||
}, nil)
|
}, nil)
|
||||||
]]--
|
]]--
|
||||||
--mobs:boom(self, self.object:get_pos(), 1, true)
|
--mobs:boom(self, self.object:get_pos(), 1, true)
|
||||||
mcl_explosions.explode(self.object:get_pos(), 3,{ drop_chance = 1.0 })
|
mcl_explosions.explode(self.object:get_pos(), 1,{ drop_chance = 1.0 })
|
||||||
end,
|
end,
|
||||||
|
|
||||||
hit_mob = function(self, mob)
|
hit_mob = function(self, mob)
|
||||||
|
@ -123,12 +123,12 @@ mobs:register_arrow("mobs_mc:fireball", {
|
||||||
damage_groups = {fleshy = 6},
|
damage_groups = {fleshy = 6},
|
||||||
}, nil)
|
}, nil)
|
||||||
--mobs:boom(self, self.object:get_pos(), 1, true)
|
--mobs:boom(self, self.object:get_pos(), 1, true)
|
||||||
mcl_explosions.explode(self.object:get_pos(), 3,{ drop_chance = 1.0 })
|
mcl_explosions.explode(self.object:get_pos(), 1,{ drop_chance = 1.0 })
|
||||||
end,
|
end,
|
||||||
|
|
||||||
hit_node = function(self, pos, node)
|
hit_node = function(self, pos, node)
|
||||||
--mobs:boom(self, pos, 1, true)
|
--mobs:boom(self, pos, 1, true)
|
||||||
mcl_explosions.explode(self.object:get_pos(), 3,{ drop_chance = 1.0 })
|
mcl_explosions.explode(self.object:get_pos(), 1,{ drop_chance = 1.0 })
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue