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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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