Mobs now shoot mcl_bows:arrow_entity
This commit is contained in:
parent
7471836c2d
commit
8a2e6d434d
5 changed files with 33 additions and 13 deletions
|
@ -78,7 +78,10 @@ local skeleton = {
|
|||
view_range = 16,
|
||||
fear_height = 4,
|
||||
attack_type = "dogshoot",
|
||||
arrow = "mobs_mc:arrow_entity",
|
||||
arrow = "mcl_bows:arrow_entity",
|
||||
shoot_arrow = function(self, pos, dir)
|
||||
mcl_bows.shoot_arrow("mcl_bows:arrow", pos, dir, self.object:get_yaw(), self.object)
|
||||
end,
|
||||
shoot_interval = 2.5,
|
||||
shoot_offset = 1,
|
||||
dogshoot_switch = 1,
|
||||
|
|
|
@ -9,8 +9,11 @@ mobs:register_mob("mobs_mc:illusioner", {
|
|||
type = "monster",
|
||||
attack_type = "shoot",
|
||||
shoot_interval = 0.5,
|
||||
arrow = "mobs_mc:arrow_entity",
|
||||
shoot_offset = 1.5,
|
||||
arrow = "mcl_bows:arrow_entity",
|
||||
shoot_arrow = function(self, pos, dir)
|
||||
mcl_bows.shoot_arrow("mcl_bows:arrow", pos, dir, self.object:get_yaw(), self.object)
|
||||
end,
|
||||
hp_min = 32,
|
||||
hp_max = 32,
|
||||
collisionbox = {-0.3, -0.01, -0.3, 0.3, 1.94, 0.3},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue