adjust values
parent
9cf5b2a9f6
commit
8cd093afa9
|
@ -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 New Issue