mejoras en jugabilidad

This commit is contained in:
Diego De la Viuda Llorente committed 2026-11-11 18:14:14 +01:00
1 parent d983bc2e69
commit ec7e35ddf6
40 files changed
+856 -538

No files matched your search

+12
View File
@@ -116,6 +116,18 @@ func _run() -> void:
player.call("_ground_pound_impact")
_check(int(enemy.get("current_health")) == 38, "High ground pound must deal exactly 12 damage")
# El cooldown de 7s empieza al lanzarse, no al aterrizar; no bloquea el punetazo.
player.call("_start_ground_pound")
_check(is_equal_approx(float(player.get("ground_pound_cooldown_timer")), 7.0),
"Ground Pound starts its own seven-second cooldown")
player.set("ground_pound_active", false)
player.call("_start_ground_pound")
_check(not bool(player.get("ground_pound_active")), "Cannot repeat Ground Pound during cooldown")
player.call("_update_timers", 7.0)
player.call("_start_ground_pound")
_check(bool(player.get("ground_pound_active")), "Ground Pound works again after cooldown")
player.set("ground_pound_active", false)
# Probar el procesamiento y la limpieza de efectos, no solo la carga de recursos.
await create_timer(0.8).timeout
if _failures == 0: