mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-10 17:19:35 +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)
|
||||
]]--
|
||||
--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,
|
||||
|
||||
hit_mob = function(self, mob)
|
||||
|
@ -123,12 +123,12 @@ mobs:register_arrow("mobs_mc:fireball", {
|
|||
damage_groups = {fleshy = 6},
|
||||
}, nil)
|
||||
--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,
|
||||
|
||||
hit_node = function(self, pos, node)
|
||||
--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
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue