mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Simplify skeleton arrow damage calculation
This commit is contained in:
parent
c9f71d66f5
commit
ebd995fbd2
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ local skeleton = {
|
|||
shoot_arrow = function(self, pos, dir)
|
||||
if mod_bows then
|
||||
-- 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,
|
||||
|
|
Loading…
Reference in a new issue