feat(Core/Commands): Allow .npc info to use GUID when no target selected (#24922)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Ryan Turner <16946913+TheSCREWEDSoftware@users.noreply.github.com>
This commit is contained in:
dataCenter430
2026-03-09 13:45:57 -04:00
committed by GitHub
parent 7fc3049449
commit a137dfcb66
2 changed files with 52 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
-- Update .npc info help text for optional GUID support
UPDATE `command` SET `help` = 'Syntax: .npc info [#creature_guid]\r\n\r\nDisplay a list of details for the selected creature, or for the creature with the given GUID if no target is selected.\r\n\r\nWhen a creature is targeted or found in the current map, the list includes:\r\n- GUID, Faction, NPC flags, Entry ID, Model ID,\r\n- Level,\r\n- Health (current/maximum),\r\n- Field flags, dynamic flags, faction template,\r\n- Position information,\r\n- and the creature type, e.g. if the creature is a vendor.\r\n\r\nWhen only a GUID is given and the creature is not in the current map, DB-stored data is shown (spawn ID, entry, phase, position, map, etc.).'
WHERE `name` = 'npc info';