Make mob knockback weaker

This commit is contained in:
Wuzzy 2019-01-28 00:55:41 +01:00
parent 8f7303d540
commit 3bcc2c2693

View file

@ -2444,7 +2444,7 @@ local mob_punch = function(self, hitter, tflp, tool_capabilities, dir)
local v = self.object:getvelocity() local v = self.object:getvelocity()
local r = 1.4 - min(punch_interval, 1.4) local r = 1.4 - min(punch_interval, 1.4)
local kb = r * 5 local kb = r * 2.0
local up = 2 local up = 2
-- if already in air then dont go up anymore when hit -- if already in air then dont go up anymore when hit