give mobs a slightly heigher jump height
so they don't need 2 tries to jump on a node
This commit is contained in:
parent
c855f51829
commit
d90b3c046a
|
@ -1449,7 +1449,7 @@ local do_jump = function(self)
|
||||||
|
|
||||||
local v = self.object:get_velocity()
|
local v = self.object:get_velocity()
|
||||||
|
|
||||||
v.y = self.jump_height
|
v.y = self.jump_height + 0.1
|
||||||
|
|
||||||
set_animation(self, "jump") -- only when defined
|
set_animation(self, "jump") -- only when defined
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user