RynthSuite/Plugins/RynthCore.Plugin.RynthAi/CreatureData/CreatureProfile.cs
Tom Bohar 0a4b611a90 RynthSuite as of 2026-09-05 (internal a5ff5c2)
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>
2026-09-25 21:23:05 -04:00

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;
}