I try to modificate the skill "KO_GENWAKU", i want this skill give any points of stats(it's working) and switch whit other player(not work). My skill change position with mobs but not work for players and i no idea whats happen. My configurations are:
In skill.c
case RC_SWITCH: if ( !map_flag_gvg(src->m) ) { int x = src->x, y = src->y; if( sd && rnd()%100 > ((45+5*skill_lv) - status_get_int(bl)/10) ){//[(Base chance of success) - (Intelligence Objectives / 10)]%. clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); break; } if (unit_movepos(src,bl->x,bl->y,0,0)) { clif_skill_nodamage(src,src,skill_id,skill_lv,1); clif_slide(src,bl->x,bl->y) ; sc_start(src,src,SC_CHANGE,80,skill_lv,skill_get_time(skill_id,skill_lv)); if (unit_movepos(bl,x,y,0,0)) { clif_skill_damage(bl,bl,tick, status_get_amotion(src), 0, -30000, 1, skill_id, -1, 6); if( bl->type == BL_PC && pc_issit((TBL_PC*)bl)) clif_sitting(bl,true); //Avoid sitting sync problem clif_slide(bl,x,y) ; sc_start(src,bl,SC_CHANGE,80,skill_lv,skill_get_time(skill_id,skill_lv)); } } } break;
I try to modificate the skill "KO_GENWAKU", i want this skill give any points of stats(it's working) and switch whit other player(not work). My skill change position with mobs but not work for players and i no idea whats happen. My configurations are:
In skill.c
item_db.txt
skill_require.txt
skill_cast.txt
I hope the information be suficient, if you need more data only say it
P.D. sorry foy may bad english
Share this post
Link to post
Share on other sites