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.
6 lines
267 B
Text
6 lines
267 B
Text
[gd_scene load_steps=2 format=3 uid="uid://xil4f66wokxb"]
|
|
|
|
[ext_resource type="Script" uid="uid://cv3jv78k0qqvc" path="res://combat/projectiles/rock/scripts/rock_projectile.gd" id="1_8myby"]
|
|
|
|
[node name="RockProjectile" type="Node2D"]
|
|
script = ExtResource("1_8myby")
|