[WIP] Treballant en el jefe. Barra d'energia
This commit is contained in:
@@ -26,8 +26,8 @@ function imp.new(_hab, _x, _y)
|
||||
frame=28,
|
||||
wait=0,
|
||||
vides=1,
|
||||
energia=6,
|
||||
max_energia=6,
|
||||
energia=21,
|
||||
max_energia=21,
|
||||
falling=0,
|
||||
step=0,
|
||||
hurting=0,
|
||||
@@ -499,7 +499,7 @@ if DEBUG_FN_NAME then print("shot") end
|
||||
-- self:reset_fight_mode_cooldown(1)
|
||||
self:do_flip(abad)
|
||||
self.flip_wait=100
|
||||
print("FIREBALL!!")
|
||||
-- print("FIREBALL!!")
|
||||
|
||||
local flip = false
|
||||
local x_ini = self.x+self.bb.x+self.bb.w+4
|
||||
@@ -594,7 +594,7 @@ if DEBUG_FN_NAME then print("pattern_next_target") end
|
||||
self.path = self.paths[from][next_path_idx]
|
||||
self.path_curr_action = 1
|
||||
self.target = self.hot_points[self.path.next]
|
||||
print("Next pattern target => "..self.path.next)
|
||||
-- print("Next pattern target => "..self.path.next)
|
||||
end
|
||||
|
||||
function imp:path_next_action( from )
|
||||
|
||||
Reference in New Issue
Block a user