Jump to content
dragontechi

started with skill

Recommended Posts

I have a question, does anyone have any idea how I can add the skills to the character at level 0, that is, the skill is inside the character at level 0 and depending on whether you want it, whether or not you want to upload the added skill?

Share this post


Link to post
Share on other sites

@dragontechi Inside functions.lua, add this to the function CreatChaSkill(role):
 

function CreatChaSkill ( role ) 
	AddChaSkill(role, SKILL_ID, SKILL_LEVEL, 1, 0)
	-- 1 means that the SKILL_LEVEL will be applied to the skill
    -- 0 means that we will not deduct a skill point from the character.
end 

 


"Beware of bugs in the above code; I have only proved it correct, not tried it."

- Donald E. Knuth

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...