mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-23 03:13:46 +01:00
Make mob knockback weaker
parent
8f7303d540
commit
3bcc2c2693
@ -2444,7 +2444,7 @@ local mob_punch = function(self, hitter, tflp, tool_capabilities, dir)
|
||||
|
||||
local v = self.object:getvelocity()
|
||||
local r = 1.4 - min(punch_interval, 1.4)
|
||||
local kb = r * 5
|
||||
local kb = r * 2.0
|
||||
local up = 2
|
||||
|
||||
-- if already in air then dont go up anymore when hit
|
||||
|
Loading…
Reference in New Issue
Block a user