Jump to content
  • 0

Editing skill behavior/formula


Question

Posted

Hello, I'd like to change several skill-based on kRO update, those skills are:

-Bowling Bash: Will hit 4 times when mobs are more than 3.
-Chain Combo: Having a 200% damage increase and 6 hits if players using knuckle.
-BackStab: No longer need to be cast behind the target, will hit twice if using the dagger.
-Crazy uppoar, Assumptio, Suffragium, Impositio manus, and song-based skills work to the user and nearby party members. (works like Gloria/Clementia etc)

However, I am still confused about where should I edit in src. Any helps or directions given are appreciated. ?

1 answer to this question

Recommended Posts

  • 0
Posted (edited)

Not sure how korea would do it but

 

all them are in skill.c except for the knuckle one

 

1) if bct_enemt => 3

use bowling bash v2  which has multiple hits 

 

might be a way to code multiple hits but i dont know it

 

2) this is in battle.c

if sd->status.weapon == W_KNUCKLE

skill ratio += 300 or whatever

 

3) again i dont know how to add hits 

just delete the skill failure lines

                    clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0);
 

4)

        case AL_ANGELUS:
        case PR_MAGNIFICAT:
        case PR_GLORIA:
        case SN_WINDWALK:
        case CASH_BLESSING:
        case CASH_INCAGI:
        case CASH_ASSUMPTIO:
        case WM_FRIGG_SONG:
            if( sd == NULL || sd->status.party_id == 0 || (flag & 1) )
                clif->skill_nodamage(bl, bl, skill_id, skill_lv, sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv)));
            else if( sd )
                party->foreachsamemap(skill->area_sub, sd, skill->get_splash(skill_id, skill_lv), src, skill_id, skill_lv, tick, flag|BCT_PARTY|1, skill->castend_nodamage_id);
            break;

 

and in your skill_db make sure to add splash 3

Edited by Naruto

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