[WIP] Treballant en el jefe. Almenys ja no explota, algo es algo

This commit is contained in:
2026-04-13 22:32:07 +02:00
parent a43173a940
commit d477988d10
5 changed files with 50 additions and 29 deletions

View File

@@ -40,4 +40,11 @@ if DEBUG_FN_NAME then print("free_next_target") end
---- ... ara s'intenta tornar al moviment per patró
self:pattern_recovery()
end
function imp:pattern_next_target()
if not DEBUG_FN_NAME then print("pattern_next_target") end
local next_target = self.hot_points[self.pattern.target]
print(next_target.id)
self.target = next_target
end