Jump to content
  • 0

Weapon Refine Skill + 20


Stolao

Question


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

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 by Stolao
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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