update bot

This commit is contained in:
2026-01-06 08:55:14 +08:00
parent cbbe95e108
commit 059f152374
12 changed files with 353 additions and 148 deletions
+2 -2
View File
@@ -73,8 +73,8 @@ func add_goal_completion_reward():
# =============================================================================
func can_use_special() -> bool:
"""Returns true if player has at least 1 bar (4 points)."""
return current_points >= POINTS_PER_BAR
"""Returns true if player has at least 1 bar (4 points) AND IS NOT ON COOLDOWN."""
return current_points >= POINTS_PER_BAR and special_cooldown_timer <= 0
func get_bars() -> int:
"""Returns current number of full bars."""