Jump to content
  • 0

Skill level toggle question.


grandsaga

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  01/22/12
  • Last Seen:  

Some skills allow you to toggle which level it's used at. Where in the src or where ever do I determine wether this is doable with a skill?

Btw where should I have posted this question?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   1
  • Joined:  06/14/12
  • Last Seen:  

Considering this is a client sided edit, you are asking in the right place.

What you want to edit is skillinfolist.lua (lua files/skillinfoz/)

Simply add

 SpAmount = {  },

In the brackets, add the sp cost of each levels seperated by a comma and it should work.

This is an example for Teleport which is useful to have the toggle option for lv 1 without the menu pop up and level 2 for both options :

[sKID.AL_TELEPORT] = {
 "AL_TELEPORT";
 SkillName = "Teleportation",
 MaxLv = 2,
 SpAmount = { 10, 9 },
 _NeedSkillList = {
  { SKID.AL_RUWACH,1 }
 }
},

Link to comment
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.   Paste as plain text instead

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