Files
GameJamDungeon/Zennysoft.Game.Ma/src/items/weapons/WeaponStats.cs
Zenny db7a1df1f7 Started implementing SFX
Fixed Shield animation jumps and secondary attack
Fixed demon wall stone behavior
Made overworld ambient sounds unpausable
2025-11-25 03:04:07 -08:00

27 lines
618 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;
[Export]
public SoundEffect SoundEffect { get; set; } = SoundEffect.WeaponSwing;
}