Add attack data to enemy attacks (might need to rework a little bit for primary/secondary attacks)
21 lines
497 B
C#
21 lines
497 B
C#
using Chickensoft.Introspection;
|
|
using Chickensoft.Serialization;
|
|
using Godot;
|
|
using Zennysoft.Game.Implementation;
|
|
using Zennysoft.Ma.Adapter;
|
|
|
|
namespace Zennysoft.Game.Ma;
|
|
|
|
[GlobalClass]
|
|
[Meta, Id("effect_item_stats")]
|
|
public partial class EffectItemStats : InventoryItemStats
|
|
{
|
|
[Export]
|
|
[Save("effect_item_tag")]
|
|
public UsableItemTag UsableItemTag { get; set; } = UsableItemTag.None;
|
|
|
|
[Export]
|
|
[Save("effect_item_element")]
|
|
public ElementType ElementalDamageType { get; set; }
|
|
}
|