Added aiming for tesla

This commit is contained in:
2025-11-12 22:14:50 +03:00
parent 146a31dea5
commit 6d5bae3a64
13 changed files with 92 additions and 17 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ func can_shoot() -> bool:
func shoot() -> void:
var random_heat := _random.randf_range(-_cool_per_sec_tenth, _cool_per_sec_tenth)
var random_heat := randf_range(-_cool_per_sec_tenth, _cool_per_sec_tenth)
_heat += heat_per_shot + random_heat