enabled enforced static typing

This commit is contained in:
2024-02-22 06:22:22 +11:00
parent e1a867d2a9
commit a93660f755
1645 changed files with 24730 additions and 2078 deletions

View File

@@ -1,10 +1,9 @@
extends HitscanTower
class_name StatusApplyingTower
class_name StatusApplyingTower extends HitscanTower
@export var status_stats : StatusStats
@export var status_stats: StatusStats
func shoot():
func shoot() -> void:
super.shoot()
if targeted_enemy and is_instance_valid(targeted_enemy) and targeted_enemy.alive:
targeted_enemy.damage(damage)
@@ -12,11 +11,11 @@ func shoot():
func build_status_object() -> StatusEffect:
var status = StatusEffect.new()
var status: StatusEffect = StatusEffect.new()
status.stats = status_stats
return status
@rpc("reliable")
func networked_shoot():
func networked_shoot() -> void:
super.networked_shoot()