Jump to content
  • 0

Question

Posted

Hi Guys! 

 

i just want to seek help regarding PC.C

 

i added this script:

    if( sd->sc.count && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_STAR)
        {
            sd->status.skill[85].id = 85;
            sd->status.skill[85].lv = 10;
            sd->status.skill[85].flag = SKILL_FLAG_PERMANENT;
            sd->status.skill[356].id = 356;
            sd->status.skill[356].lv = 10;
            sd->status.skill[356].flag = SKILL_FLAG_PERMANENT;
        } 

and successfully the SKILLS: Lord of Vermillion level 10 and Parrying level 10 were added in the skill tree of the STAR GLADIATOR if under the effect of SOUL LINK but the skills were unable to use unless @reloadscript is used.

now with various trial and error method i come up with this script:

    if( &sd->sc && sd->sc.count && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_STAR)
        {
            sd->status.skill[85].id = 85;
            sd->status.skill[85].lv = 10;
            sd->status.skill[85].flag = SKILL_FLAG_PERM_GRANTED;
            sd->status.skill[356].id = 356;
            sd->status.skill[356].lv = 10;
            sd->status.skill[356].flag = SKILL_FLAG_PERM_GRANTED;
        } 

now this happens:

 

The LORD of VERMILLION SKILL AND PARRYING SKILL is now present in the SKILL TAB of all Jobs including NOVICE and can be used even without soul link..

 

i tried to revert it back to original skill and even tried to delete it but nothing happens, still these 2 skills are present..

 

any help is highly appreciated.

thank you so much


Up please
Buuuuuuuump

BUmmp

1 answer to this question

Recommended Posts

  • 0
Posted

you need to find the part where the SC_SPIRIT ended and then add the source code that will remove these 2 skills when they get the skills after soul linked.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...