Jump to content

Cardinale

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by Cardinale

  1.  

    Good morning, I'm trying to invert function (BUILDIN_FUNC(skill) in the script.cpp file) so that homunculu gains the skill. but I'm not getting success, could someone help me please?

  2. Good night, this custom skill aims to heal player, mob, and mercenary.
    player and mob are ok. but the mercenary does not heal. what should i do to work?
     
    case KAFRA_RESTORE:
            
                    int sp = 0;
                    int64 hp = 1000;
     
                    clif->skill_nodamage(src,bl,AL_HEAL,(int)hp,1);
                    status->heal(bl, (int)hp, sp, STATUS_HEAL_DEFAULT);
                
                break;
  3. Good night, I'm working on creating a new skill for a class ninja.
    do all the procedures, but when it comes to distributing the points it just doesn't open. 
    follows as settings if anyone can help me I will be grateful. (I'm a layman in creating new skills).
    points are distributed but not saved

     

    ----Skill_tree.conf

    NJ_SENBON:{
               MaxLevel: 1
               NJ_KUNAI: 1
            } 
            
    ---skilltreeview.lub

    [38] = SKID.KO_BAKURETSU,
    [40] = SKID.NJ_SENBON

    ---skilltreeview_web.lub

    [38] = SKID.KO_BAKURETSU,
    [40] = SKID.NJ_SENBON

    ---skillinfolist.lub

    [SKID.NJ_SENBON] = {
            "NJ_SENBON",
            SkillName = "Senbon",
            MaxLv = 1,
            SpAmount = { 2 },
            bSeperateLv = true,
            AttackRange = { 9 },
            
            _NeedSkillList = {
                { SKID.NJ_KUNAI, 1 }
            }
        },
      

    ----skill_id.lub 

    NJ_SENBON = 8443


    ----skill_db.conf

    {
        Id: 8443
        Name: "NJ_SENBON"
        Description: "Senbon"
        MaxLevel: 1
        Range: 9
        Hit: "BDT_MULTIHIT"
        NumberOfHits: {
            Lv1: 2
        }
        SkillType: {
            Enemy: true
        }
        AttackType: "Weapon"
        Element: "Ele_Weapon"
        DamageType: {
            IgnoreFlee: true
        }
        Requirements: {
            SPCost: 2
        }
    },

    Bug_skill.png.c54ba0dd5abce7c8b2857a1370ce0f91.png

  4. Boa noite, estou trabalhando para criar uma nova skill para a class ninja. fiz todos os procedimentos, mas na hora de distribuir os pontos ela simplesmente não abre. segue as configurações  se alguém conseguir me ajudar ficarei agradecido. (Sou leigo na criação de novas habilidades)

    ----Skill_tree.conf

    NJ_SENBON:{
               MaxLevel: 1
               NJ_KUNAI: 1
            } 
            
    ---skilltreeview.lub

    [38] = SKID.KO_BAKURETSU,
    [40] = SKID.NJ_SENBON

    ---skilltreeview_web.lub

    [38] = SKID.KO_BAKURETSU,
    [40] = SKID.NJ_SENBON

    ---skillinfolist.lub

    [SKID.NJ_SENBON] = {
            "NJ_SENBON",
            SkillName = "Senbon",
            MaxLv = 1,
            SpAmount = { 2 },
            bSeperateLv = true,
            AttackRange = { 9 },
            
            _NeedSkillList = {
                { SKID.NJ_KUNAI, 1 }
            }
        },
      

    ----skill_id.lub 

    NJ_SENBON = 8443


    ----skill_db.conf

    {
        Id: 8443
        Name: "NJ_SENBON"
        Description: "Senbon"
        MaxLevel: 1
        Range: 9
        Hit: "BDT_MULTIHIT"
        NumberOfHits: {
            Lv1: 2
        }
        SkillType: {
            Enemy: true
        }
        AttackType: "Weapon"
        Element: "Ele_Weapon"
        DamageType: {
            IgnoreFlee: true
        }
        Requirements: {
            SPCost: 2
        }
    },

    Bug_skill.png

  5. Boa tarde, alguém consegue me ajudar a encontrar uma maneira de criar uma condição para um npc. 

    Ex: 

    If (Class == job_ranker_taekwon ){

    Faça...

    }

    Minha dúvida esta no 'job_ranker_taekwon' como representar a categoria na condição.

    Desde já agradeço amigos

    • Upvote 1
  6. Good morning, dear friends I want to make a npc but I do not know where to start. 
    follows the line of reasoning.

    example:
    if the poring dropar card (not autoloot) will be played @effect 400

    if it is possible to reproduce by SRC even better.

     

    Inspired by the new ragna0 method

    betterrandomoption.gif.35c9371bd6d9f127af146bdde73861b9.gif

×
×
  • Create New...