way too many changes to list, oops. big rewrite.

This commit is contained in:
2025-05-27 03:38:03 +10:00
parent 16951a9beb
commit 4a21701a35
663 changed files with 7389 additions and 3283 deletions

View File

@ -9,6 +9,7 @@ var force: float = 2.0
var damage: float = 0.0
var lifetime: float = 10.0
var time_alive: float = 0.0
var effect: Effect
func _ready() -> void:
@ -20,10 +21,10 @@ func _process(delta: float) -> void:
func spawn_damage_indicator(pos: Vector3) -> void:
if damage > 0:
if effect.damage > 0:
var marker: Node3D = damage_particle_scene.instantiate()
get_tree().root.add_child(marker)
marker.set_number(damage)
marker.set_number(effect.damage)
marker.position = pos