mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-05 21:15:54 +00:00
22 lines
797 B
C#
22 lines
797 B
C#
|
|
using Cirno.Scripts.Resources.Loot;
|
|||
|
|
using Godot;
|
|||
|
|
using Godot.Collections;
|
|||
|
|
|
|||
|
|
namespace Cirno.Scripts.Resources;
|
|||
|
|
|
|||
|
|
[GlobalClass]
|
|||
|
|
public partial class EnemyResource : Resource
|
|||
|
|
{
|
|||
|
|
[Export] public StringName EnemyName { get; private set; }
|
|||
|
|
[Export] public StringName EnemyKey { get; private set; }
|
|||
|
|
[Export] public StringName PrefabPath { get; private set; }
|
|||
|
|
[Export] public float MaxHealth { get; private set; }
|
|||
|
|
[Export] public DamageResistance Resistances { get; private set; }
|
|||
|
|
[Export] public WeaponResource Weapon { get; private set; }
|
|||
|
|
|
|||
|
|
[Export] public Array<LootDrop> LootDrops { get; private set; }
|
|||
|
|
|
|||
|
|
[ExportCategory("AI")]
|
|||
|
|
[Export] public float AlarmReactRange { get; private set; }
|
|||
|
|
[Export] public float PlayerDisengageRange { get; private set; }
|
|||
|
|
}
|