Fixed Shield animation jumps and secondary attack Fixed demon wall stone behavior Made overworld ambient sounds unpausable
27 lines
618 B
C#
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;
|
|
}
|