mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
587 B
587 B
Function: HasSkill(player, skill_id)
Description: Return's true if the player has the skill_id specified
Parameters:
player(Spawn) - Spawn object representingplayer.skill_id(uint32) - Integer valueskill_id.
Returns: True if the player has the skill_id, otherwise false.
Example:
-- From ItemScripts/BardCertificationPapers.lua
function Class(Item, Player)
conversation = CreateConversation()
if CanReceiveQuest(Player,Quest) then
AddConversationOption(conversation, "[Turn in these papers for gear]","QuestStart")
end