1
0
Fork 0

Simplify skeleton arrow damage calculation

This commit is contained in:
jordan4ibanez 2021-04-21 12:45:02 -04:00
parent c9f71d66f5
commit ebd995fbd2
1 changed files with 1 additions and 1 deletions

View File

@ -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,