waited far too long for an initial commit but here we are

This commit is contained in:
2023-11-08 14:28:55 +11:00
commit 0427a58635
299 changed files with 10191 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
extends StatusEffect
class_name StatusSticky
func on_attached():
super.on_attached()
affected.movement_speed = affected.stats.movement_speed * (1.0 - stats.potency)
func on_removed():
super.on_removed()
var siblings = get_parent().get_children()
var stickies = 0
for node in siblings:
if node is StatusSticky:
stickies += 1
if stickies == 1:
affected.movement_speed = affected.stats.movement_speed