[WIP] Lluita contra jefes. El cacaus ja li impacten
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user