Jump to content
  • 0
Black Box

Custom skill does not work.

Question

I followed this tutorial of detailed manner:

 

http://herc.ws/wiki/Adding_new_skills

 

See below, everything is correct, but the custom skill does not work. It's like she had disabled. The luasfiles are updated and are all correct, as the tutorial. What can I do to fix?

 

PS: The custom skill is working in my clone. (Using @clone), but how is possible? because for me it happens the error where in my record video up. I tested too one sound in this skill custom, and now its working too i think the problem would in the .lua files, but for now all my files ( lua and data ), are up to date. @@Ind

 

Edited by Jolteo

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

*** You review these Steps***

 

1.- SKILL  RANGES

  • Player Skills
    • Slots available: 5020 skills (mmo.h::MAX_SKILL)
    • From: 0
    • To: 5019 (max. to 5019)


Note: mmo.h::MAX_SKILL is 5020, if using ID more than 5019, ID will be invalid for player's skill, or can use the values more than 5019 but need to add the src/common/mmo.h #define MAX_SKILL value. (the current MAX_SKILL is kind of waste space! Even in Renewal, skill is less than 200)

 

2.- EDIT SRC.

yourserver/src/map/skill.h =          YOU_SKILL = 5020,

yourserver/src/map/skill.c =        Case YOU_SKILL;

yourserver/src/map/battle.c   = Case YOU_SKILL: skillratio += 10*(skill_lv-1); break;

 

3.- LUA FILES.

a) skillinfolist.lub

[sKID.YOU_SKILL] = {
"YOU_SKILL";
SkillName = "Custom skill",
MaxLv = 10,
SpAmount = {8, 8, 8, 8, 8, 15, 15, 15, 15, 15},
bSeperateLv = true,
AttackRange = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1}
},
 

b )  skillid.lub

 YOU_SKILL = 5020,

 

c) skilldescript.lub

  [sKID.YOU_SKILL] = {
    "Custom skill",
"Max Level: 10",
"Skill Form: ^FF0000Offensive^000000",
"Target: ^777777Enemy^000000",
"Description: ^777777Hit an enemy with crushing force.",
"If the Fatal Blow skill is learned, Bash will have",
"an added ^702180Stun^777777 effect at level 6 and higher.^000000",
"[Lv 1]: ^777777130% ATK^000000",
"[Lv 2]: ^777777160% ATK^000000",
"[Lv 3]: ^777777190% ATK^000000",
"[Lv 4]: ^777777220% ATK^000000",
"[Lv 5]: ^777777250% ATK^000000",
"[Lv 6]: ^777777280% ATK^000000",
"[Lv 7]: ^777777310% ATK^000000",
"[Lv 8]: ^777777340% ATK^000000",
"[Lv 9]: ^777777370% ATK^000000",
"[Lv 10]: ^777777400% ATK^000000"
  },

 

4.- TEXTURE

 a) data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/item/YOU_SKILL.bmp

Edited by OmarAcero

Share this post


Link to post
Share on other sites
  • 0

*** You review these Steps***

 

1.- SKILL  RANGES

  • Player Skills
    • Slots available: 5020 skills (mmo.h::MAX_SKILL)

    •  
    • From: 0

    •  
    • To: 5019 (max. to 5019)

    •  

    [*]

     

Note: mmo.h::MAX_SKILL is 5020, if using ID more than 5019, ID will be invalid for player's skill, or can use the values more than 5019 but need to add the src/common/mmo.h #define MAX_SKILL value. (the current MAX_SKILL is kind of waste space! Even in Renewal, skill is less than 200)

 

2.- EDIT SRC.

yourserver/src/map/skill.h =          YOU_SKILL = 5020,

yourserver/src/map/skill.c =        Case YOU_SKILL;

yourserver/src/map/battle.c   = Case YOU_SKILL: skillratio += 10*(skill_lv-1); break;

 

3.- LUA FILES.

a) skillinfolist.lub

[sKID.YOU_SKILL] = {
"YOU_SKILL";
SkillName = "Custom skill",
MaxLv = 10,
SpAmount = {8, 8, 8, 8, 8, 15, 15, 15, 15, 15},
bSeperateLv = true,
AttackRange = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1}
},
 

b )  skillid.lub

 YOU_SKILL = 5020,

 

c) skilldescript.lub

  [sKID.YOU_SKILL] = {
    "Custom skill",

"Max Level: 10",
"Skill Form: ^FF0000Offensive^000000",
"Target: ^777777Enemy^000000",
"Description: ^777777Hit an enemy with crushing force.",
"If the Fatal Blow skill is learned, Bash will have",
"an added ^702180Stun^777777 effect at level 6 and higher.^000000",
"[Lv 1]: ^777777130% ATK^000000",
"[Lv 2]: ^777777160% ATK^000000",
"[Lv 3]: ^777777190% ATK^000000",
"[Lv 4]: ^777777220% ATK^000000",
"[Lv 5]: ^777777250% ATK^000000",
"[Lv 6]: ^777777280% ATK^000000",
"[Lv 7]: ^777777310% ATK^000000",
"[Lv 8]: ^777777340% ATK^000000",
"[Lv 9]: ^777777370% ATK^000000",
"[Lv 10]: ^777777400% ATK^000000"
  },

 

4.- TEXTURE

 a) data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/item/YOU_SKILL.bmp

 

I checked the processes and everything was correct, i managed to solve with the topic below. Thank you.

 

http://herc.ws/board/topic/512-skill-id-processing-overhaul/

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

×
×
  • Create New...

Important Information

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