Jump to content
  • 0

Soul Linker Spirit Skill modification


Question

Posted (edited)

I'm currently trying to add additional effects on the spirit skill of soul linker but i don't know where to do it.

This are the additional effects i would like to add when a player is casted by soul link.

Knight Spirit:

-Allows to use One Hand Quicken

-Allows use of Parrying with one hand sword

Edited by kamoteka

9 answers to this question

Recommended Posts

Posted (edited)

If you're using rAthena, One Hand Quicken is already provided when LK is linked(and have two hand quicken lv 10).

So the edits below are just for the second request.

Open src/map/skill.c

Find:

int skill_check_condition_castend(struct map_session_data* sd, short skill, short lv)
{
struct skill_condition require;
struct status_data *status;
int i;
int index[MAX_SKILL_ITEM_REQUIRE];

After ADD:

struct status_change *sc = &sd->sc;

Find and Replace the two places like that:

if( require.weapon && !pc_check_weapontype(sd,require.weapon) ) {

By this:

if(require.weapon && !(pc_check_weapontype(sd,require.weapon) || (skill == LK_PARRYING && sc && sc->data[sC_SPIRIT] && sc->data[sC_SPIRIT]->val2 == SL_KNIGHT && sd->status.weapon == W_1HSWORD)) ){

Edited by MarkZD
  • Upvote 3
Posted (edited)

i tried it but i still cant use parrying. and when i use the script, i cant use any targeted skill anymore.

I edited the post, fixed it.

Tested and Working.

Edited by MarkZD
  • Upvote 1
Posted

How to make it like Soul link for knights able to parry even when using one hand sword but has a lower block chance and all skill delay will be reduced by 90%.

*Block chance of 3*SkillLV% for one-hand sword parry.? If I may ask sir. thanks! :D

Posted

If you're using rAthena, One Hand Quicken is already provided when LK is linked(and have two hand quicken lv 10).

So the edits below are just for the second request.

Open src/map/skill.c

Find:

int skill_check_condition_castend(struct map_session_data* sd, short skill, short lv)
{
struct skill_condition require;
struct status_data *status;
int i;
int index[MAX_SKILL_ITEM_REQUIRE];
After ADD:

struct status_change *sc = &sd->sc;

Find and Replace the two places like that:

if( require.weapon && !pc_check_weapontype(sd,require.weapon) ) {
By this:

if(require.weapon && !(pc_check_weapontype(sd,require.weapon) || (skill == LK_PARRYING && sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_KNIGHT && sd->status.weapon == W_1HSWORD)) ){

 

Good Day sir!

 

im impress with your skill in this topic..

 

can i request a link modification for blacksmith?

that whenever a blacksmith is under link effect he can also use Parrying Using Axe including its same link effect? ty

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