50 lines
894 B
C#
50 lines
894 B
C#
using Godot;
|
|
|
|
namespace GameJamDungeon;
|
|
|
|
[GlobalClass]
|
|
public partial class EnemyStatResource : Resource
|
|
{
|
|
[Export]
|
|
public double CurrentHP { get; set; }
|
|
|
|
[Export]
|
|
public int MaximumHP { get; set; }
|
|
|
|
[Export]
|
|
public int CurrentAttack { get; set; }
|
|
|
|
[Export]
|
|
public int CurrentDefense { get; set; }
|
|
|
|
[Export]
|
|
public int MaxAttack { get; set; }
|
|
|
|
[Export]
|
|
public int MaxDefense { get; set; }
|
|
|
|
[Export]
|
|
public int ExpFromDefeat { get; set; }
|
|
|
|
[Export]
|
|
public double Luck { get; set; } = 0.05f;
|
|
|
|
[Export]
|
|
public double TelluricResistance { get; set; }
|
|
|
|
[Export]
|
|
public double AeolicResistance { get; set; }
|
|
|
|
[Export]
|
|
public double HydricResistance { get; set; }
|
|
|
|
[Export]
|
|
public double IgneousResistance { get; set; }
|
|
|
|
[Export]
|
|
public double FerrumResistance { get; set; }
|
|
|
|
[Export]
|
|
public float DropsSoulGemChance { get; set; } = 0.75f;
|
|
}
|