diff options
| author | alex <[email protected]> | 2026-07-24 23:33:46 +0200 |
|---|---|---|
| committer | alex <[email protected]> | 2026-07-24 23:33:46 +0200 |
| commit | 91fd5d80808fd177f97c4cc7e78b704efb5d6ce3 (patch) | |
| tree | fc0dee06eae293afb5e429fa0956455aee585f01 /scripts/resources | |
| parent | 6b666c7f25121e61bf1c58ee65cb2cd0f254b887 (diff) | |
| download | godot-testing-91fd5d80808fd177f97c4cc7e78b704efb5d6ce3.tar.xz godot-testing-91fd5d80808fd177f97c4cc7e78b704efb5d6ce3.zip | |
improved stats resource, weapon now uses dmg from player stats
Diffstat (limited to 'scripts/resources')
| -rw-r--r-- | scripts/resources/EntityStats.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/resources/EntityStats.cs b/scripts/resources/EntityStats.cs index 4eebcaf..b32c252 100644 --- a/scripts/resources/EntityStats.cs +++ b/scripts/resources/EntityStats.cs @@ -5,4 +5,6 @@ public partial class EntityStats : Resource { [Export] public float MaxHealth { get; set; } = 100.0f; [Export] public float MoveSpeed { get; set; } = 300.0f; + [Export] public float Damage { get; set; } = 10.0f; + } |
