mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-25 02:00:21 +01: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
|
if self.double_melee_attack
|
||||||
and math.random(1, 2) == 1 then
|
and math.random(1, 2) == 1 then
|
||||||
set_animation(self, "punch")
|
|
||||||
else
|
|
||||||
set_animation(self, "punch2")
|
set_animation(self, "punch2")
|
||||||
|
else
|
||||||
|
set_animation(self, "punch")
|
||||||
end
|
end
|
||||||
|
|
||||||
local p2 = p
|
local p2 = p
|
||||||
|
Loading…
Reference in New Issue
Block a user