Historical signature: HasSkill(player, skill_id)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: HasSkill(player, skill_id)
Description:
Return's true if the player has the skill_id specified
Parameters:
player (Spawn) - Spawn object representing player.
skill_id (uint32) - Integer value skill_id.
Returns: True if the player has the skill_id, otherwise false.
Checked example
Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.
if HasSkill(Spawn,366253016) then
Evidence: server/SpawnScripts/Generic/ClassSkillCheck.lua:264; binding EQ2Emu_lua_HasSkill.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.