using UnityEngine; [CreateAssetMenu(fileName = "New NPC Data", menuName = "RPG/NPC Data")] public class NPCData : ScriptableObject { [Header("Stats")] public float maxHealth = 100f; [Header("Combat Settings")] public NPCFaction defaultFaction = NPCFaction.Enemy; public float aggroRadius = 15f; public float attackRadius = 2.0f; public float attackCooldown = 2.5f; [Header("Movement")] public float walkSpeed = 2.0f; public float runSpeed = 5.0f; [Header("Equipment")] [Tooltip("Base damage dealt if no weapon is equipped.")] public float baseDamage = 15f; [Tooltip("The weapon data for damage calculations and hit shape.")] public Weapon weaponData; [Tooltip("The visual weapon prefab to spawn in the NPC's hand.")] public GameObject weaponPrefab; }