Fix para la carga de variables de fill #29

Merged
ankdev merged 1 commits from feature/ia_automated_test into main 2026-10-27 09:04:00 +00:00
+4 -4
View File
@@ -788,12 +788,12 @@ func _draw() -> void:
# Ground pound: show the real damage radius throughout the fall, then make
# it stronger for a few frames at the exact impact moment.
if ground_pound_active or ground_pound_debug_timer > 0.0:
var fill_alpha: float = 0.14 if ground_pound_active else 0.28
var outline_alpha: float = 0.60 if ground_pound_active else 0.95
var pound_fill_alpha: float = 0.14 if ground_pound_active else 0.28
var pound_outline_alpha: float = 0.60 if ground_pound_active else 0.95
draw_circle(
ground_pound_hitbox.position,
ground_pound_radius,
Color(1.0, 0.18, 0.05, fill_alpha)
Color(1.0, 0.18, 0.05, pound_fill_alpha)
)
draw_arc(
ground_pound_hitbox.position,
@@ -801,7 +801,7 @@ func _draw() -> void:
0.0,
TAU,
48,
Color(1.0, 0.18, 0.05, outline_alpha),
Color(1.0, 0.18, 0.05, pound_outline_alpha),
2.0
)