using GameServer.Dungeon;
namespace GameServer.Shared;
///
/// Interface for player combat state, implemented by both dungeon PlayerInstance
/// and world WorldPlayerCombatState. Provides the combat-relevant surface that
/// MobAI and CombatCalculator need.
///
public interface IPlayerTarget
{
ulong CharacterId { get; }
string CharacterName { get; }
// Position
float X { get; }
float Y { get; }
// Vitals
float Health { get; set; }
float MaxHealth { get; }
bool IsAlive { get; set; }
bool IsInvulnerable { get; }
// Combat stats
int Strength { get; }
int Intelligence { get; }
int Endurance { get; }
int Dexterity { get; }
int Armor { get; }
string WeaponDamageTypeKey { get; }
Dictionary Resistances { get; }
// Status effects
List StatusEffects { get; }
bool IsStunned { get; }
bool IsRooted { get; }
bool IsFeared { get; }
// Combat tracking
bool IsInCombat { get; set; }
long LastCombatTick { get; set; }
}