mtd/Scripts/StatusEffects/status_effect.gd

19 lines
416 B
GDScript3
Raw Normal View History

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