mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
Fix shulker bullets ignoring armor
This commit is contained in:
parent
55fe71d73b
commit
cf51c60527
@ -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
Block a user