Additional refactoring and fixing of equipment data
Add attack data to enemy attacks (might need to rework a little bit for primary/secondary attacks)
This commit is contained in:
@@ -32,9 +32,9 @@ public partial class ConsumableItem : InventoryItem
|
||||
|
||||
public int HealVTAmount => Stats.HealVTAmount;
|
||||
|
||||
public int RaiseHPAmount => Stats.RaiseHPAmount;
|
||||
public int RaiseHPAmount => Stats.PermanentRaiseHPAmount;
|
||||
|
||||
public int RaiseVTAmount => Stats.RaiseVTAmount;
|
||||
public int RaiseVTAmount => Stats.PermanentRaiseVTAmount;
|
||||
|
||||
public override ItemTag ItemTag => Stats.ItemTag;
|
||||
|
||||
|
||||
@@ -8,19 +8,17 @@ namespace Zennysoft.Game.Ma;
|
||||
[Meta, Id("consumable_item_stats")]
|
||||
public partial class ConsumableItemStats : InventoryItemStats
|
||||
{
|
||||
[Export]
|
||||
[Save("consumable_item_name")]
|
||||
public override string Name { get; set; } = default!;
|
||||
[Export(PropertyHint.Range, "0, 999, 1")]
|
||||
public int HealHPAmount { get; set; }
|
||||
|
||||
[Export(PropertyHint.MultilineText)]
|
||||
[Save("consumable_item_description")]
|
||||
public override string Description { get; set; } = default!;
|
||||
[Export(PropertyHint.Range, "0, 999, 1")]
|
||||
public int HealVTAmount { get; set; }
|
||||
|
||||
[Export]
|
||||
[Save("consumable_item_raise_hp")]
|
||||
public int RaiseHPAmount { get; set; } = 0;
|
||||
public int PermanentRaiseHPAmount { get; set; } = 0;
|
||||
|
||||
[Export]
|
||||
[Save("consumable_item_raise_vt")]
|
||||
public int RaiseVTAmount { get; set; } = 0;
|
||||
public int PermanentRaiseVTAmount { get; set; } = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user