Jump to content
  • 0

How to Add Custom Skill Icon to Skill Tree?


Question

Posted

I've made a custom skill on my offline server.
It works fine when I use @useskill, and I want to add the skill to an item like Assassin Cross Card which gives Cloaking skill.
But when I added the skill on the item and equipped it, I can't find any additional skill in my skill tree.
I don't know if the problem is the skill icon on the client side or on the server side. ?
I also tried to follow this guide to make the custom skill as a job skill instead of item skill but it also failed.

However this is my lub files and others:

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 = { 14, 14, 14, 14, 14 }
    },


skill_db.txt

Quote

8450,14,6,16,0,0x1,0,5,1,no,0,0,0,magic,0,0x0,    NPC_STYLE,NPC Style


the item on item_db.txt

Quote

1599,Angra_Manyu,Angra Manyu,5,1,,10,10000:10000,,2,4,0xFFFFFFFF,63,2,2,1,1,1,8,{ bonus bAllStats,50; bonus bBaseAtk,3300; bonus bMatkRate,200; bonus2 bHPDrainRate,1000,100; bonus2 bSPDrainRate,1000,20; bonus bHealPower,200; bonus2 bAddClass,Class_All,100; skill "WZ_STORMGUST",10; Skill "WZ_METEOR",10; Skill "WZ_VERMILION",10; skill "GM_SANDMAN",1; bonus bVariableCastrate,-100; bonus bFixedCastrate,-100; skill "SA_DEATH",1; skill "NPC_STYLE",5; },{},{}


Note: I tried to make an existing skill "SA_DEATH" which doesn't have any icon and put it on an item. It shows up perfectly on the skill tree like my screenshot.

skill screenshot.png

5 answers to this question

Recommended Posts

  • 0
Posted

So your main issue is you probably failed to do the sprite file correctly or you didn't name the file correctly; Make sure the file names are "npc_style" like you listed in skillinfo and if that doesn't work then you messed up when making the sprite/act file

  • 0
Posted
3 hours ago, TheDerpySupport said:

So your main issue is you probably failed to do the sprite file correctly or you didn't name the file correctly; Make sure the file names are "npc_style" like you listed in skillinfo and if that doesn't work then you messed up when making the sprite/act file

Thank you for your reply @TheDerpySupport ?

Yes I named it npc_style, you can check it here:

skill icon screenshot 2.png

skill icon screenshot.png

  • 0
Posted
On 12/31/2018 at 2:09 AM, TheDerpySupport said:

Could you try a lower skill ID too? Maybe try the 900 range?

Yes, after I change the ID to 900, the skill icon appears in the skill tree. ?
But somehow I can't use it anymore, even with @useskill,
And a warning appeared in the mapserver ?

skill icon screenshot 3.png

skill icon screenshot 4.png

I also tried to change another of my custom skill ID to 900 range
It makes the skill icon appear but it can't be used like the npc_style
And it showed an error like the picture

The skill siegfried_heart still recognized as 8466, I don't have any idea where to change it.

This is the skill_db.txt

Quote

902,0,6,4,0,0x1,0,5,1,no,0,0,0,magic,0,0x0,    NPC_SIEGFRIED_HEART,Siegfried Heart

 

skill icon screenshot 5.png

skill icon screenshot 6.png

 

Bump. Still need help ?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...