mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-06-09 05:20:38 +02:00
fixed punch animation
This commit is contained in:
parent
37a6399ffb
commit
67aa752c44
4
api.lua
4
api.lua
@ -1586,9 +1586,9 @@ local do_states = function(self, dtime)
|
||||
|
||||
if self.double_melee_attack
|
||||
and math.random(1, 2) == 1 then
|
||||
set_animation(self, "punch")
|
||||
else
|
||||
set_animation(self, "punch2")
|
||||
else
|
||||
set_animation(self, "punch")
|
||||
end
|
||||
|
||||
local p2 = p
|
||||
|
Loading…
x
Reference in New Issue
Block a user