mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Fix shulker bullets ignoring armor
This commit is contained in:
parent
55fe71d73b
commit
cf51c60527
1 changed files with 2 additions and 17 deletions
|
@ -159,25 +159,10 @@ mcl_mobs.register_arrow("mobs_mc:shulkerbullet", {
|
|||
textures = {"mobs_mc_shulkerbullet.png"},
|
||||
velocity = 6,
|
||||
homing = true,
|
||||
hit_player = function(self, player)
|
||||
player:punch(self.object, 1.0, {
|
||||
full_punch_interval = 1.0,
|
||||
damage_groups = {fleshy = 4},
|
||||
}, nil)
|
||||
end,
|
||||
|
||||
hit_mob = function(self, mob)
|
||||
mob:punch(self.object, 1.0, {
|
||||
full_punch_interval = 1.0,
|
||||
damage_groups = {fleshy = 4},
|
||||
}, nil)
|
||||
end,
|
||||
|
||||
hit_node = function(self, pos, node)
|
||||
end
|
||||
hit_player = mcl_mobs.get_arrow_damage_func(4),
|
||||
hit_mob = mcl_mobs.get_arrow_damage_func(4),
|
||||
})
|
||||
|
||||
|
||||
mcl_mobs.register_egg("mobs_mc:shulker", S("Shulker"), "#946694", "#4d3852", 0)
|
||||
mcl_mobs:non_spawn_specific("mobs_mc:shulker","overworld",0,minetest.LIGHT_MAX+1)
|
||||
--[[
|
||||
|
|
Loading…
Reference in a new issue