Files
GameJamDungeon/Zennysoft.Game.Ma/src/items/weapons/WeaponStats.cs
Zenny bc161a58b3 Additional refactoring and fixing of equipment data
Add attack data to enemy attacks (might need to rework a little bit for primary/secondary attacks)
2025-10-23 00:05:44 -07:00

24 lines
532 B
C#

using Chickensoft.Introspection;
using Chickensoft.Serialization;
using Godot;
using Zennysoft.Ma.Adapter;
namespace Zennysoft.Game.Ma;
[GlobalClass]
[Meta, Id("weapon_stat_type")]
public partial class WeaponStats : InventoryItemStats
{
[Export]
[Save("weapon_atk_speed")]
public double AttackSpeed { get; set; } = 1;
[Export]
[Save("weapon_element")]
public ElementType WeaponElement { get; set; } = ElementType.None;
[Export]
[Save("weapon_tag")]
public WeaponTag WeaponTag { get; set; } = WeaponTag.None;
}