2024-02-22 06:22:22 +11:00
|
|
|
class_name StatusEffect extends RefCounted
|
2023-11-08 14:28:55 +11:00
|
|
|
|
2024-02-22 06:22:22 +11:00
|
|
|
var stats: StatusStats
|
2023-11-08 14:28:55 +11:00
|
|
|
|
2024-02-22 06:22:22 +11:00
|
|
|
var time_since_proc: float = 0.0
|
|
|
|
var time_existed: float = 0.0
|
2023-11-08 14:28:55 +11:00
|
|
|
|
|
|
|
|
2024-02-22 06:22:22 +11:00
|
|
|
func on_attached(_affected: EnemyController, _existing_effects: Dictionary) -> void:
|
2023-11-08 14:28:55 +11:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
2024-02-22 06:22:22 +11:00
|
|
|
func on_removed(_affected: EnemyController, _existing_effects: Dictionary) -> void:
|
2023-11-08 14:28:55 +11:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
2024-02-22 06:22:22 +11:00
|
|
|
func proc(_affected: EnemyController, _stacks: int, _existing_effects: Dictionary) -> void:
|
2023-11-11 19:03:01 +11:00
|
|
|
pass
|