1
0
Fork 0

adjust values

pvp_knockback
epCode 2022-10-09 18:43:41 -07:00
parent 9cf5b2a9f6
commit 8cd093afa9
1 changed files with 3 additions and 3 deletions

View File

@ -3366,9 +3366,9 @@ local mob_punch = function(self, hitter, tflp, tool_capabilities, dir)
elseif luaentity and luaentity._knockback then
kb = kb + luaentity._knockback
end
self._kb_turn = false
self._turn_to=self.object:get_yaw()+1.57
minetest.after(0.5, function()
--self._kb_turn = false
self._turn_to=self.object:get_yaw()+0.85
minetest.after(0.2, function()
if self and self.object then
self._kb_turn = true
end