mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 16:55:09 +00:00
Make mob knockback weaker
This commit is contained in:
parent
8f7303d540
commit
3bcc2c2693
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue