[WIP] Lluita contra jefes. Eliminats actors de la zona de combat

This commit is contained in:
2026-04-05 17:32:08 +02:00
parent 4c2c8dc84f
commit 5aa9dd5051
6 changed files with 66 additions and 7 deletions

View File

@@ -6,7 +6,6 @@ function trigger.new(_hab,_x,_y,_action,_escena,_id,_type,_doors,_linked_id)
-- if _type=="switch" then _bb={x=0,y=0,w=16,h=17} end
if _id then print("NEW => ".._id) end
_type = _type or "invisible"
if _linked_id then print("LINKED => ".._id.." -> ".._linked_id[1].." +") end
return {
name="trigger",
type=_type,
@@ -23,6 +22,7 @@ if _linked_id then print("LINKED => ".._id.." -> ".._linked_id[1].." +") end
draw=trigger.draw,
linked_id=_linked_id,
enabled=true,
disable_reason="",
bb=_bb }
end