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:
@@ -29,5 +29,9 @@ public partial class ArmorStats : InventoryItemStats
|
||||
[Save("armor_ferrum_resistance")]
|
||||
private double _ferrumResistance { get; set; } = 0;
|
||||
|
||||
public ElementalResistanceSet ElementalResistanceSet => new ElementalResistanceSet(_aeolicResistance, _hydricResistance, _igneousResistance, _ferrumResistance, _telluricResistance);
|
||||
[Export]
|
||||
[Save("armor_holy_resistance")]
|
||||
private double _holyResistance { get; set; } = 0;
|
||||
|
||||
public ElementalResistanceSet ElementalResistanceSet => new ElementalResistanceSet(_aeolicResistance, _hydricResistance, _igneousResistance, _ferrumResistance, _telluricResistance, _holyResistance);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user