Jump to content
  • 0

Lua for homun skills...


Peopleperson49

Question


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

How do I modify the lua files for adding player class skills to homun characters. I can easily do it for adding or modify player class skills to other classes, but I can't seem to get the homun lua format correct. I tried this below with no luck. Any ideas? Thanks.

 

Peopleperson49

 

    [SKID.AL_HEAL] = {
        "AL_HEAL";
        SkillName = "Heal",
        MaxLv = 10,
        SpAmount = { 13, 16, 19, 22, 25, 28, 31, 34, 37, 40 },
        bSeperateLv = true,
        AttackRange = { 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 },
        NeedSkillList = {
            [JOBID.JT_CRUSADER] = {
                { SKID.CR_TRUST,10 },
                { SKID.AL_DEMONBANE,5 }
            }
        }
        _NeedSkillList = {
            { SKID.HLIF_HEAL,5 }
        }
    },
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

NeedSkillList = {
            [JOBID.JT_CRUSADER] = {
                { SKID.CR_TRUST,10 },
                { SKID.AL_DEMONBANE,5 }

doesn't that make the homun to learn those skills before Heal is displayed? just saying o:

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