Jump to content
  • 0

Preserve - db & conf


Tales

Question


  • Group:  Members
  • Topic Count:  163
  • Topics Per Day:  0.04
  • Content Count:  319
  • Reputation:   8
  • Joined:  02/05/12
  • Last Seen:  

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.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   3
  • Joined:  03/30/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  163
  • Topics Per Day:  0.04
  • Content Count:  319
  • Reputation:   8
  • Joined:  02/05/12
  • Last Seen:  

Why rAthena do this chage? Sorry but, its better when we can set in a conf file. Have other way?

Link to comment
Share on other sites


  • Group:  Development Manager
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  732
  • Reputation:   525
  • Joined:  12/13/11
  • Last Seen:  

It provides more flexibility with the database rather than having just the config.

  • Upvote 1
Link to comment
Share on other sites

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.

×
×
  • Create New...