11 lines
240 B
GDScript
11 lines
240 B
GDScript
extends StatusEffect
|
|
class_name StatusSticky
|
|
|
|
|
|
func on_attached(affected, existing_effects):
|
|
affected.movement_speed_penalty -= stats.potency
|
|
|
|
|
|
func on_removed(affected, existing_effects):
|
|
affected.movement_speed_penalty += stats.potency
|