A snapshot of the working tree for aelrynth.com/git/: the code, build files and public docs. Internal review notes and agent instructions are left out. MIT licensed; see LICENSE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
1.2 KiB
C#
38 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace RynthCore.Plugin.RynthAi.CreatureData;
|
|
|
|
/// <summary>
|
|
/// Persistent record of observed creature data — vitals, resists, armor, spells.
|
|
/// Captured passively from IdentifyObject responses and QueryHealth replies.
|
|
/// Keyed by Name (with optional Wcid disambiguator) in CreatureProfileStore.
|
|
/// </summary>
|
|
public sealed class CreatureProfile
|
|
{
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
public uint Wcid { get; set; }
|
|
|
|
public int CreatureType { get; set; }
|
|
|
|
public uint MaxHealth { get; set; }
|
|
public uint MaxStamina { get; set; }
|
|
public uint MaxMana { get; set; }
|
|
|
|
public int ArmorLevel { get; set; }
|
|
|
|
public double ResistSlash { get; set; } = 1.0;
|
|
public double ResistPierce { get; set; } = 1.0;
|
|
public double ResistBludgeon { get; set; } = 1.0;
|
|
public double ResistFire { get; set; } = 1.0;
|
|
public double ResistCold { get; set; } = 1.0;
|
|
public double ResistAcid { get; set; } = 1.0;
|
|
public double ResistElectric { get; set; } = 1.0;
|
|
|
|
public List<uint> KnownSpellIds { get; set; } = new();
|
|
|
|
public int Samples { get; set; }
|
|
public string LastSeen { get; set; } = string.Empty;
|
|
public string Notes { get; set; } = string.Empty;
|
|
}
|