Nivel nuevo de prueba, primera Alpha

This commit is contained in:
Diego De la Viuda Llorente committed 2026-10-21 16:46:46 +02:00
1 parent f1363dd6c8
commit 4850d79149
36 files changed
+1609 -26

No files matched your search

+2 -2
View File
@@ -103,9 +103,9 @@ func _run() -> void:
if not (heal_pickup.get_node("Label") as Label).text.contains("HP LLENO"):
_fail("El pickup no explica que la salud esta llena")
return
player.set("current_health", 50)
player.set("current_health", 20)
await create_timer(0.1).timeout
if is_instance_valid(heal_pickup) or int(player.get("current_health")) <= 50:
if is_instance_valid(heal_pickup) or int(player.get("current_health")) <= 20:
_fail("Un objeto solapado debe reintentarse cuando el jugador necesita HP")
return