Jump to content
  • 0

increase Bash Stun rate


IsabelaFernandez

Question


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.07
  • Content Count:  354
  • Reputation:   8
  • Joined:  04/16/18
  • Last Seen:  

Hi everyone, I'm noticing that the bash skill's stun is very low (almost zero) to be stunned even with low vitality.
How do I change the amount or increase a percentage?

is here?:

    case SM_BASH:
        if( sd && skill_lv > 5 && pc_checkskill(sd,SM_FATALBLOW)>0 ){
            //BaseChance gets multiplied with BaseLevel/50.0; 500/50 simplifies to 10 [Playtester]
            status_change_start(src,bl,SC_STUN,(skill_lv-5)*sd->status.base_level*10,
                skill_lv,0,0,0,skill_get_time2(skill_id,skill_lv),SCSTART_NONE);
        }
        break;

 

Pre-Renewal server

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  155
  • Reputation:   51
  • Joined:  07/15/13
  • Last Seen:  

    case SM_BASH:
        if( sd && skill_lv > 5 && pc_checkskill(sd,SM_FATALBLOW)>0 ){
            //BaseChance gets multiplied with BaseLevel/50.0; 500/50 simplifies to 10 [Playtester]
            status_change_start(src,bl,SC_STUN,(skill_lv-5)*sd->status.base_level*10,
                skill_lv,0,0,0,skill_get_time2(skill_id,skill_lv),SCSTART_NONE);
        }
        break;

Stun % starts at level 6 so in this line:  status_change_start(src,bl,SC_STUN,(skill_lv-5)*sd->status.base_level*10,

on skill_lv-5 means 5% when you have bash lvl 6, if lvl 7 bash stun chance increases to 10%...

and base_level has a aditional chance to stun.

So you need change skill_lv-5 to skill_lv-10 that means every level you have 10% aditional chance.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.07
  • Content Count:  354
  • Reputation:   8
  • Joined:  04/16/18
  • Last Seen:  

11 hours ago, _Terra said:
    case SM_BASH:
        if( sd && skill_lv > 5 && pc_checkskill(sd,SM_FATALBLOW)>0 ){
            //BaseChance gets multiplied with BaseLevel/50.0; 500/50 simplifies to 10 [Playtester]
            status_change_start(src,bl,SC_STUN,(skill_lv-5)*sd->status.base_level*10,
                skill_lv,0,0,0,skill_get_time2(skill_id,skill_lv),SCSTART_NONE);
        }
        break;

Stun % starts at level 6 so in this line:  status_change_start(src,bl,SC_STUN,(skill_lv-5)*sd->status.base_level*10,

on skill_lv-5 means 5% when you have bash lvl 6, if lvl 7 bash stun chance increases to 10%...

and base_level has a aditional chance to stun.

So you need change skill_lv-5 to skill_lv-10 that means every level you have 10% aditional chance.

So, by default 5, if you have Bash lvl 10 you will have an equivalent 50% chance of causing the stun effect? and if I change it to 10 will it be 100%? Thanks in advance

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  155
  • Reputation:   51
  • Joined:  07/15/13
  • Last Seen:  

3 hours ago, IsabelaFernandez said:

So, by default 5, if you have Bash lvl 10 you will have an equivalent 50% chance of causing the stun effect? and if I change it to 10 will it be 100%? Thanks in advance

5 means 5% stun chance and stun chance start at level 6 so when you have bash level 10 you have 25% then if you put 10 stun will increase 10% per level (50% at level 10).

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