Item holy and all element implementation, still need to work out some of the math for it

Fix bonus defense for weapons
This commit is contained in:
2026-02-05 10:48:24 -08:00
parent 8a99771491
commit 8ea881edb3
18 changed files with 88 additions and 28 deletions
@@ -59,6 +59,10 @@ public abstract partial class InventoryItemStats : Resource
[Save("equipment_ferrum_resist")]
public int FerrumResistance { get; set; } = 0;
[Export]
[Save("equipment_holy_resist")]
public int HolyResistance { get; set; } = 0;
[Export(PropertyHint.Range, "0, 25, 0.1")]
[Save("equipment_throw_speed")]
public float ThrowSpeed { get; set; } = 12.0f;
@@ -74,7 +78,4 @@ public abstract partial class InventoryItemStats : Resource
[Export]
[Save("inventory_item_texture")]
public Texture2D Texture { get; set; }
[Export]
public AudioStream AudioStream { get; set; }
}