Jump to content
  • 0
Sign in to follow this  
Zirius

Example of an NPC that checks if a player has already learned a skill?

Question

Hello! Can somebody please give an example of an NPC that checks if a player has already learned the skill.

 

Example, Swordsman's Fatal Blow or Merchant's Change cart.


Thanks!

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Please elaborate on "these stuffs". I thought your question was already answered by Angelmelody...

these functions (getskilllv()) and variables(SM_FATALBLOW). Sorry.

Edited by Zirius

Share this post


Link to post
Share on other sites
  • 0

You can find all the script functions in doc/script.commands.txt, variables are names of skills, you can see them in skill_db ( db/(pre-)re/skill_db.txt ).

 

Also, there's quite a few of script-used variables set in db/const.txt. This is not the case, but for the future reference ^_^

Share this post


Link to post
Share on other sites
  • 0

You can find all the script functions in doc/script.commands.txt, variables are names of skills, you can see them in skill_db ( db/(pre-)re/skill_db.txt ).

 

Also, there's quite a few of script-used variables set in db/const.txt. This is not the case, but for the future reference ^_^

 

Thanks thanks thanks!

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
Answer this question...

×   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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.