2023-11-08 14:28:55 +11:00
|
|
|
extends StatusEffect
|
|
|
|
class_name StatusSticky
|
|
|
|
|
|
|
|
|
2023-11-11 19:03:01 +11:00
|
|
|
func on_attached(affected, existing_effects):
|
|
|
|
affected.movement_speed_penalty -= stats.potency
|
2023-11-08 14:28:55 +11:00
|
|
|
|
|
|
|
|
2023-11-11 19:03:01 +11:00
|
|
|
func on_removed(affected, existing_effects):
|
|
|
|
affected.movement_speed_penalty += stats.potency
|