mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
adjust values
This commit is contained in:
parent
9cf5b2a9f6
commit
8cd093afa9
1 changed files with 3 additions and 3 deletions
|
@ -3366,9 +3366,9 @@ local mob_punch = function(self, hitter, tflp, tool_capabilities, dir)
|
||||||
elseif luaentity and luaentity._knockback then
|
elseif luaentity and luaentity._knockback then
|
||||||
kb = kb + luaentity._knockback
|
kb = kb + luaentity._knockback
|
||||||
end
|
end
|
||||||
self._kb_turn = false
|
--self._kb_turn = false
|
||||||
self._turn_to=self.object:get_yaw()+1.57
|
self._turn_to=self.object:get_yaw()+0.85
|
||||||
minetest.after(0.5, function()
|
minetest.after(0.2, function()
|
||||||
if self and self.object then
|
if self and self.object then
|
||||||
self._kb_turn = true
|
self._kb_turn = true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue