Jump to content
  • 0

Adding custom skill to skill tree


sandbox

Question


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

I've recently made a post about duplicating skills which was a success on the server side but however, failed on the client side.

 

Now i've followed this guide on which files to configure in the client side but can't seem to make it display on the skill tree.

 

I've tried using @useskill and it works fine and it displays the name of the skill, but I can't make it show up.

 

The skill is invoked by a scriptcommand by the way, other skills works fine when invoked via the *skill script, but this custom one doesn't seem to show up, also tried adding it into db/skilltree.txt but still no luck.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Sand box you need to edit the files in (on phone so might miss a extension)

Lua 514/luafiles/skillinfoz/

Edit all the lub files in there for each skill you add. Including the skilltree.

And for server side yoy need to add the skill to the

Db/import/skill_tree_db.txt

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

I've already done that sir Stolao, the problem is, the skill is not a base skill, which could be obtained from an item only. Althought I tried adding it on skill_tree_db.txt as i've stated, I still can't see it there.

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

What times are you available to work with (with timezone) I can take a look for you

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

GMT+8, around 10PM nightly..

 

Anyhow here's my lub files..

 

skillid.lub

DUP_LK_JOINTBEAT = 9000,

skilldescript.lub

	[SKID.DUP_LK_JOINTBEAT] = {
		"Joint Beat (Vital Strike)",
		"Max Level: 5",
		"Skill Form: ^FF0000Offensive^000000",
		"Description: ^777777Strike an enemy's vital points to",
		"cause various abnormal statuses. This skill's",
		"level affects the Attack Power and the success",
		"rate of causing abnormal status effects.",
		"[Lv 1]: ^77777760%ATK^000000",
		"[Lv 2]: ^77777770%ATK^000000",
		"[Lv 3]: ^77777780%ATK^000000",
		"[Lv 4]: ^77777790%ATK^000000",
		"[Lv 5]: ^777777100%ATK^000000"
	},

skillinfolist.lub

	[SKID.DUP_LK_JOINTBEAT] = {
		"LK_JOINTBEAT",
		SkillName = "Joint Beat",
		MaxLv = 5,
		SpAmount = { 12, 12, 14, 14, 16, 16, 18, 18, 20, 20 },
		bSeperateLv = false,
		AttackRange = { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 },
	},
Edited by sandbox
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

bump :( sorry

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   0
  • Joined:  05/07/18
  • Last Seen:  

Hello there @sandbox
Did you solve this one?
I have the same problem as yours and I don't know how to fix it.
My custom skill works fine when I use it by @useskill but I can't add it to skill tree.

However this is my lub files:
skillid.lub

Quote

NPC_STYLE = 8450,


skilldescript.lub

Quote

[SKID.NPC_STYLE] = {
        "Change Style",
        "Max Level: 5",
        "Skill Form: ^339900Supportive^000000",
        "Target: ^777777Player^000000",
        "Description: ^777777Change character costume.^000000",
    },


skillinfolist.lub
 

Quote

[SKID.NPC_STYLE] = {
        "npc_style",
        SkillName = "Change Style",
        MaxLv = 5,
        SpAmount = { 0, 0, 0, 0, 0 },
        bSeperateLv = false,
        AttackRange = { 9, 9, 9, 9, 9 }
    },

Thanks in advance ?


Note: I tried to make skill "SA_DEATH" icon and put it on an item which doesn't have any icon. It works fine like my screenshot.

skill screenshot.png

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