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:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user