15 lines
513 B
C#
15 lines
513 B
C#
using GameCore.Combat;
|
|
using Godot;
|
|
|
|
namespace CryptonymThunder.Code.Resources;
|
|
|
|
[GlobalClass]
|
|
public partial class WeaponResource : Resource
|
|
{
|
|
[Export] public float FireRate { get; set; } = 1.0f;
|
|
|
|
[ExportGroup("Effects")]
|
|
[Export] public Godot.Collections.Array<EffectResource> FireCosts { get; set; } = [];
|
|
[Export] public Godot.Collections.Array<EffectResource> OnFireEffects { get; set; } = [];
|
|
[Export] public Godot.Collections.Array<EffectResource> OnHitEffects { get; set; } = [];
|
|
} |