mtd/Scripts/StatusEffects/status_dot.gd

6 lines
175 B
GDScript3
Raw Normal View History

2024-02-22 06:22:22 +11:00
class_name StatusDoT extends StatusEffect
2024-02-22 06:22:22 +11:00
func proc(affected: EnemyController, stacks: int, _existing_effects: Dictionary) -> void:
affected.damage(stats.potency * stacks)