[WIP] Lluita contra jefes. El cacaus ja li impacten

This commit is contained in:
2026-04-06 02:15:19 +02:00
parent 6ac7a811d9
commit a481d3798b
4 changed files with 12 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ function imp.new(_hab, _x, _y)
step=0,
hurting=0,
jumpfwd=false,
step_length=1,
step_length=0.6,
vmove_space=1,
max_jump_height=24,
jump_height=0,
@@ -70,6 +70,9 @@ function imp.new(_hab, _x, _y)
super_cooldown=2000,
shot_cooldown=500,
action="",
enabled=true,
disable_reason="",
can_warp=false,
fight=imp.fight,
draw=imp.draw,
hit=imp.hit,
@@ -106,7 +109,7 @@ function imp:draw()
end
function imp:hit()
--
print("HIT!")
end
function imp:direccio( actor )