Jump to content
  • 0

Preserve - db & conf


Question

Posted

In newest versions of rAthena we are without the skill_restriction (battle/skill.conf). Now, we need to put the skills that we want to be copied by stalker. But, if i want to set it to no restrictions, what i need to do? I dont want to put all possible skills in this db.

3 answers to this question

Recommended Posts

Posted

I'm not sure but you can test.

In src\map\skill.c

line 477

    //Plagiarism only able to copy skill while SC_PRESERVE is not active and skill is copyable by Plagiarism
    if (skill_db[idx].copyable.option&1 && pc_checkskill(sd,RG_PLAGIARISM) && !sd->sc.data[SC_PRESERVE])
        return 1;

change by

    //Plagiarism only able to copy skill while SC_PRESERVE is not active and skill is copyable by Plagiarism
    if (pc_checkskill(sd,RG_PLAGIARISM) && !sd->sc.data[SC_PRESERVE])
        return 1;
  • Upvote 1

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