Added minelayer textures
This commit is contained in:
@@ -45,8 +45,7 @@ func can_shoot() -> bool:
|
||||
|
||||
|
||||
func shoot() -> void:
|
||||
var random_heat := randf_range(-_cool_per_sec_tenth, _cool_per_sec_tenth)
|
||||
_heat += heat_per_shot + random_heat
|
||||
_heat += heat_per_shot
|
||||
|
||||
|
||||
func reload() -> void:
|
||||
|
||||
@@ -27,8 +27,7 @@ func can_shoot() -> bool:
|
||||
|
||||
|
||||
func shoot() -> void:
|
||||
var random_delay := randf_range(-_delay_tenth, _delay_tenth)
|
||||
_cooldown = _delay + random_delay
|
||||
_cooldown = _delay
|
||||
|
||||
|
||||
func reload() -> void:
|
||||
|
||||
@@ -45,8 +45,7 @@ func shoot() -> void:
|
||||
|
||||
func reload() -> void:
|
||||
if _countdown > 0 or _bullets_in_magazine == magazine_size: return
|
||||
var random_delay := randf_range(-_reload_time_tenth, _reload_time_tenth)
|
||||
_countdown = reload_time + random_delay
|
||||
_countdown = reload_time
|
||||
|
||||
|
||||
func get_process_percent() -> int:
|
||||
|
||||
Reference in New Issue
Block a user