Jump to content

ohyono

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. 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; item_db.txt 1106,5:6:7:8:9,6,16,0,0x1,0,5,1,no,0,0x400,0,none,0, RC_SWITCH,Switch skill_require.txt 1106,0,0,40:44:48:52:56,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //RC_SWITCH#Switch# skill_cast.txt //-- RC_SWITCH1106,500,0,0,5000,0,0,0 I hope the information be suficient, if you need more data only say it P.D. sorry foy may bad english
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.