hello
I try to put a stun effect to Double strafe and Bash by my own but effect doesn't work. This is what I did in Skill.c
case AC_DOUBLE:
sc_start(src,bl,SC_STUN,(2*skill_lv+10),skill_lv,skill_get_time2(skill_id,skill_lv)); << I take this line from skill case AS_SONICBLOW:
break;
case SM_BASH:
sc_start(src,bl,SC_STUN,(2*skill_lv+10),skill_lv,skill_get_time2(skill_id,skill_lv)); << I take this line from skill case AS_SONICBLOW:
break;
//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(SM_FATALBLOW,skill_lv),SCSTART_NONE);
//}
//break;
I really don't have any knowledge about writing program code can anybody teach me how to fix it?