Jump to content

Emad

Members
  • Posts

    109
  • Joined

  • Last visited

Posts posted by Emad

  1. i added 3rd skills on 2nd classes and want to make 3rd skill unlocked after all 2nd class points are full but set jobchange_level_3rd,70; is not working

    callfunc "F_GetPlatinumSkills";
        jobchange Job_Lord_Knight;
        set .@eac,  eaclass();
        if(.@eac&EAJL_2)
                set jobchange_level_3rd,70;
        Resetskill;
        mes "[Platinum Skill NPC]";
        mes "There you go!";
        close;
    }    

  2. On 2/17/2021 at 1:22 PM, Haruka Mayumi said:

    If you fully read and tried to understand what i wrote.. you just simply need to set the "jobchange_level" and/or "jobchange_level_3rd" character variable when they changed job..
    sample script is

    
    /*
    {job changing script}
    */
    .@ea = eaclass();
    if(.@eac&EAJL_2)
    	set jobchange_level,50;

     

  3. i need some information please the case is: do 3rd skills when not added at 2nd class skill tree(skill_tree.txt) only added via luafiles514 it will read/coded as 3rd skills ?

    because i made 3rd skills as quest not added at skill_Tree.txt only skillinfoz+ skill_db.yml all of them but it won't level up once quest finished i pujt them at level 1 with resetskill;
    please dm if possible 

  4. On 2/17/2021 at 1:22 PM, Haruka Mayumi said:

    If you fully read and tried to understand what i wrote.. you just simply need to set the "jobchange_level" and/or "jobchange_level_3rd" character variable when they changed job..
    sample script is

    
    /*
    {job changing script}
    */
    .@ea = eaclass();
    if(.@eac&EAJL_2)
    	set jobchange_level,50;

     

  5. 14 minutes ago, Haruka Mayumi said:

    This is the problem for instant job scripts that they forgot(or possibly don't know) to set jobchange_level/jobchange_level_3rd.. leaving them to 1 when their job is changed.

    there's a player variable which are call "jobchange_level" for 2nd job tree, and "jobchange_level_3rd" for 3rd job tree. you will set them if you are using an instant job script.. 
    to force the players use their 1st job points to 1st job tree only.. you must set their jobchange_level to their job level when they change into a 2nd job...

    Sample would be you instant job from Novice to Lord Knight 99/70.. you must set jobchange_level to 50 if you want to force 49 points to your Swordsman Tree.. 
    another example would be Novice to Rune Knight.. you will set the jobchange_level to 50 and you must also set the jobchange_level_3rd to 70 which is the max job level of the lord knight.

    so do they function yet? if yes where i must write them?

×
×
  • Create New...