Make shulker bullets homing

This commit is contained in:
cora 2023-11-15 19:00:01 +01:00 committed by the-real-herowl
parent f5079f1568
commit 58bb26a7ef

View file

@ -158,7 +158,7 @@ mcl_mobs.register_arrow("mobs_mc:shulkerbullet", {
visual_size = {x = 0.25, y = 0.25}, visual_size = {x = 0.25, y = 0.25},
textures = {"mobs_mc_shulkerbullet.png"}, textures = {"mobs_mc_shulkerbullet.png"},
velocity = 6, velocity = 6,
homing = true,
hit_player = function(self, player) hit_player = function(self, player)
player:punch(self.object, 1.0, { player:punch(self.object, 1.0, {
full_punch_interval = 1.0, full_punch_interval = 1.0,