1
0
Fork 0

Compare commits

...

1 Commits

Author SHA1 Message Date
ancientmarinerdev 7df0e5ac9a Nerf skeleton attack 2023-06-20 14:05:09 +01:00
1 changed files with 1 additions and 2 deletions

View File

@ -105,8 +105,7 @@ local skeleton = {
if self.attack then
self.object:set_yaw(minetest.dir_to_yaw(vector.direction(self.object:get_pos(), self.attack:get_pos())))
end
-- 2-4 damage per arrow
local dmg = math.max(4, math.random(2, 8))
local dmg = math.random(2, 4)
mcl_bows.shoot_arrow("mcl_bows:arrow", pos, dir, self.object:get_yaw(), self.object, nil, dmg)
end
end,