Jump to content
  • 0

A skill tree error.


michaelsoftman

Question


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

I have edited the skill trees on my server, and I'm getting an LUA file error with them. Only for High Wizard class, which has 4 of the 3rd class skills edited in. Every other class works fine. When trying to view the HW skill tree, this error pops up several times, and no HW skills show, and only 3 of the 3rd class ones show.

The error is this:

initskilltreeview

[string 'buf']113: bad argument #2 to ç_addneedskill.list'(number expected got nil)

And the 4 edited skills are here. I can't spot any errors with them.

[sKID.WL_MARSHOFABYSS] = {
 "WL_MARSHOFABYSS";
 SkillName = "Marsh of Abyss",
 MaxLv = 5,
 SpAmount = { 40, 42, 44, 46, 48 },
 bSeperateLv = true,
 AttackRange = { 11, 11, 11, 11, 11 },
 _NeedSkillList = {
  { SKID.WZ_GRAVITATION,5 }
 }
},
[sKID.WL_RECOGNIZEDSPELL] = {
 "WL_RECOGNIZEDSPELL";
 SkillName = "Recognized Spell",
 MaxLv = 5,
 SpAmount = { 100, 120, 140, 160, 180 },
 bSeperateLv = true,
 AttackRange = { 11, 11, 11, 11, 11 },
 _NeedSkillList = {
  { SKID.HW_MAGICPOWER,10 }
 }
},
[sKID.WL_DRAINLIFE] = {
 "WL_DRAINLIFE";
 SkillName = "Drain Life",
 MaxLv = 5,
 SpAmount = { 20, 24, 28, 32, 36 },
 bSeperateLv = true,
 AttackRange = { 11, 11, 11, 11, 11 },
 _NeedSkillList = {
  { SKID.HW_GANBANTEIN,1 }
 }
},
[sKID.WL_SOULEXPANSION] = {
 "WL_SOULEXPANSION";
 SkillName = "Soul Expansion",
 MaxLv = 5,
 SpAmount = { 30, 35, 40, 45, 50 },
 bSeperateLv = true,
 AttackRange = { 11, 11, 11, 11, 11 }
 _NeedSkillList = {
  { SKID.HW_NAPALMVULCAN,5 }
 }
},

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  224
  • Reputation:   22
  • Joined:  03/23/12
  • Last Seen:  

[sKID.WL_SOULEXPANSION] = {
 "WL_SOULEXPANSION";
 SkillName = "Soul Expansion",
 MaxLv = 5,
 SpAmount = { 30, 35, 40, 45, 50 },
 bSeperateLv = true,
 AttackRange = { 11, 11, 11, 11, 11 }, <--- was missing a comma
 _NeedSkillList = {
  { SKID.HW_NAPALMVULCAN,5 }
 }
},

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

Oh thanks, I didn't even see that haha. Even though I looked over it a ton of times.

I also found this error myself.

{ SKID.WZ_GRAVITATION,5 }

Should be HW_GRAVITATION.

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