Fix data model for elemental damage and resistance

This commit is contained in:
2024-09-07 01:07:47 -07:00
parent b478ad39fe
commit 33d282ebfb
7 changed files with 37 additions and 61 deletions

View File

@@ -7,4 +7,16 @@ public partial class ArmorInfo : InventoryItemInfo
{
[Export]
public int Defense { get; set; }
[Export]
public double TelluricResistance { get; set; }
[Export]
public double AeolicResistance { get; set; }
[Export]
public double HydricResistance { get; set; }
[Export]
public double IgneousResistance { get; set; }
}

View File

@@ -6,5 +6,17 @@ public partial class WeaponInfo : InventoryItemInfo
[Export]
public required int Damage { get; set; }
[Export]
public double TelluricDamageBonus { get; set; }
[Export]
public double AeolicDamageBonus { get; set; }
[Export]
public double BaseHydricDamageBonus { get; set; }
[Export]
public double IgneousDamageBonus { get; set; }
public static WeaponInfo Default => new WeaponInfo() { Damage = 1 };
}