mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-17 05:12:25 +01:00
Make mob knockback weaker
@ -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
|
||||||
|
Reference in New Issue
Block a user