Jump to content

Haziel

Content Moderator
  • Posts

    639
  • Joined

  • Last visited

  • Days Won

    88

Posts posted by Haziel

  1. I thought that 'Script' field could be a optional one to help to create or recreate the simples ones, like, Food Bonuses.

    By the way, once on DB we have a require field, it's good to put on sc_start a kind of flag which can avoid it, I do know, sometimes it may be needed.

  2. Agreed.

    I have no proper skills of development, but, I belive that, like Item_DB, in most of the cases, it can be set with 'bonus' script in a { } field.

    It's something that can be REALLY useful if can be done by this way.

    Obviously, some of them will must be scripted on source, but, a lot of others can easly be 'translated' as Scripta Commands, if I'm not wrong.

    I suggest a "Status Needed" {} field that will automaticaly check all status separated with ; to allow it to be set or not.

    <status id>,<status icon>,<recalculate flag>,<status flags>,{ <override statuses> },{ <needed statuses> },{ <bonus scripts>}

  3. Well, here it goes.

    skill_db.txt:

    2701,0,6,4,0,0x01,0,1,1,no,0,0x0001,0,none,0, ALL_MYSKILL,My Skill

    skill_cast_db.txt:

    2701,0,0,1000,0,0,0

    skill_tree.txt:

    0,2701,1,0,0,0,0,0,0,0,0,0,0 //ALL_MYSKILL#My Skill#

    My copilation support 3000 in MAX_SKILL.

    The skill is supposed to be a Quest Skill, casted only on Self and with a Cast Time of 1 second.

  4. Hello!

    I'm using eAthena on one of last revisions and I'm trying to add a Skill to a Job.

    I've made all the Client Stuff.

    skillid.lua:

    ALL_MYSKILL = 2701,

    skillinfolist.lua:

    [sKID.ALL_MYSKILL] = {
    "ALL_MYSKILL";
    SkillName = "My Skill",
    MaxLv = 1,
    Type = "Quest"
    },

    skilldescript.lua:

    [sKID.ALL_MYSKILL] = {
    "My Skill",
    "Description : ^777777Cast My Skill.^000000",
    },

    skilltreeview.lua:

    [JOBID.JT_NOVICE] = {
    [0] = SKID.NV_BASIC,
    [7] = SKID.NV_FIRSTAID,
    [14] = SKID.NV_TRICKDEAD,
    [21] = SKID.ALL_MYSKILL
    },

    And it works. The Skill Tree is shown correctly.

    When I get the Skill, by @questskill or using npc command skill, it's added, but, if I Logout or change my job, the skill is gone even I came back to a Novice, what's is not to being happen.

    Someone have a opinion about it?

×
×
  • Create New...