forked from VoxeLibre/VoxeLibre
Fix shulker bullets ignoring armor
This commit is contained in:
parent
069513f70b
commit
83522126c5
|
@ -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 New Issue