randomgeon/entities/StatsComponent.tscn
Dan Baker 19cc8cb573 Implements modifier and stats system
Adds a modifier and stats system to manage combat-related attributes.

Introduces StatsComponent for storing entity statistics and ModifierManager for applying dynamic modifiers. Recalculates stats based on modifier type and priority.

Updates projectile and weapon components to utilize the new stats system.
2025-05-07 11:52:30 +01:00

6 lines
253 B
Text

[gd_scene load_steps=2 format=3 uid="uid://bjybfg0xrowb5"]
[ext_resource type="Script" uid="uid://bd63bbuh27fj0" path="res://entities/scripts/stats_component.gd" id="1_ll8eh"]
[node name="StatsComponent" type="Node2D"]
script = ExtResource("1_ll8eh")