Stolao Posted May 11, 2015 Share Posted May 11, 2015 (edited) Im trying to Make Weapon refine skill refine up to level 20 without raising the skill level to 20 ive already set the max refine and it works via npc however the skill fails to load the menu for anything past + 10 here is what ive tried clif.c line 6314 -- skill_lv = pc_checkskill(sd,WS_WEAPONREFINE); ++ skill_lv = pc_checkskill(sd,WS_WEAPONREFINE) * 2; //[Stolao] fd=sd->fd; refine_item[0] = -1; refine_item[1] = pc_search_inventory(sd,ITEMID_PHRACON); skill.c line 16152 -- if( item->refine >= sd->menuskill_val || item->refine >= 10 ) ++ if( item->refine >= sd->menuskill_val * 2|| item->refine >= 20 ) { //[Stolao] clif_upgrademessage(sd->fd, 2, item->nameid); return; } if( (i = pc_search_inventory(sd, material [ditem->wlv])) < 0 ) { clif_upgrademessage(sd->fd, 3, material[ditem->wlv]); return; } per = status_get_refine_chance(ditem->wlv, (int)item->refine); if( sd->class_&JOBL_THIRD ) per += 10; else per += (((signed int)sd->status.job_level)-50)/2; //Updated per the new kro descriptions. [Skotlex] pc_delitem(sd, i, 1, 0, 0, LOG_TYPE_OTHER); line 16183 -- if(item->refine == 10 && ++ if(item->refine == 20 && //[Stolao] item->card[0] == CARD0_FORGE && (int)MakeDWord(item->card[2],item->card[3]) == sd->status.char_id) { // Fame point system [DracoRPG] switch(ditem->wlv){ case 1: any thoughts or suggestions Edited May 11, 2015 by Stolao Quote Link to comment Share on other sites More sharing options...
Im trying to Make Weapon refine skill refine up to level 20 without raising the skill level to 20
ive already set the max refine and it works via npc
however the skill fails to load the menu for anything past + 10
here is what ive tried
clif.c
line 6314
skill.c
line 16152
-- if( item->refine >= sd->menuskill_val || item->refine >= 10 ) ++ if( item->refine >= sd->menuskill_val * 2|| item->refine >= 20 ) { //[Stolao] clif_upgrademessage(sd->fd, 2, item->nameid); return; } if( (i = pc_search_inventory(sd, material [ditem->wlv])) < 0 ) { clif_upgrademessage(sd->fd, 3, material[ditem->wlv]); return; } per = status_get_refine_chance(ditem->wlv, (int)item->refine); if( sd->class_&JOBL_THIRD ) per += 10; else per += (((signed int)sd->status.job_level)-50)/2; //Updated per the new kro descriptions. [Skotlex] pc_delitem(sd, i, 1, 0, 0, LOG_TYPE_OTHER);line 16183
-- if(item->refine == 10 && ++ if(item->refine == 20 && //[Stolao] item->card[0] == CARD0_FORGE && (int)MakeDWord(item->card[2],item->card[3]) == sd->status.char_id) { // Fame point system [DracoRPG] switch(ditem->wlv){ case 1:any thoughts or suggestions
Edited by StolaoLink to comment
Share on other sites