conforms file names to consistant standard

This commit is contained in:
2026-02-21 04:24:04 +11:00
parent 6b67dd9755
commit 5a4ad8633a
1991 changed files with 3836 additions and 7976 deletions

View File

@@ -0,0 +1,6 @@
class_name StatusDoT
extends StatusEffect
func proc(affected: EnemyController, stacks: int, _existing_effects: Dictionary) -> void:
affected.take_damage(int(stats.potency * stacks), Data.DamageIndicationType.STATUS)

View File

@@ -0,0 +1 @@
uid://c6eghujlaqhwi

View File

@@ -0,0 +1,19 @@
class_name StatusEffect
extends Resource
@export var stats: StatusStats
var time_since_proc: float = 0.0
var time_existed: float = 0.0
func on_attached(_affected: EnemyController, _existing_effects: Dictionary) -> void:
pass
func on_removed(_affected: EnemyController, _existing_effects: Dictionary) -> void:
pass
func proc(_affected: EnemyController, _stacks: int, _existing_effects: Dictionary) -> void:
pass

View File

@@ -0,0 +1 @@
uid://chy7bx8dlwgs0

View File

@@ -0,0 +1,10 @@
class_name StatusSlow
extends StatusEffect
func on_attached(affected: EnemyController, _existing_effects: Dictionary) -> void:
affected.movement_speed_penalty -= stats.potency
func on_removed(affected: EnemyController, _existing_effects: Dictionary) -> void:
affected.movement_speed_penalty += stats.potency

View File

@@ -0,0 +1 @@
uid://bh74uangqekuk