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