update bot
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user