[2014-02-05] Smith Weapon Refine

bWolfie

I'm the man
Messages
850
Points
0
Location
Alberta, Midgard
Github
bWolfie
Emulator
When upgrading weapons use the Blacksmith skill Weapon Refine, once it hits +10, it doesn't leave the Upgradable weapons menu. How can I stop this?

Untitled.png

 
You should submit an issue on github - here.

 
add

&& sd->status.inventory.refine < skill_lv to the check in clif_item_refine_list
It'll look like this:

Code:
if(sd->status.inventory[i].nameid > 0 && sd->status.inventory[i].identify
	&& itemdb_wlv(sd->status.inventory[i].nameid) >= 1
	&& !sd->inventory_data[i]->flag.no_refine
	&& !(sd->status.inventory[i].equip&EQP_ARMS)
        && sd->status.inventory[i].refine < skill_lv)
 
Last edited by a moderator:
add

&& sd->status.inventory.refine < skill_lv to the check in clif_item_refine_list
It'll look like this:

if(sd->status.inventory.nameid > 0 && sd->status.inventory.identify
&& itemdb_wlv(sd->status.inventory.nameid) >= 1
&& !sd->inventory_data->flag.no_refine
&& !(sd->status.inventory.equip&EQP_ARMS)
&& sd->status.inventory.refine < skill_lv)

Thank you sir, I will try this and get back to you.

 
Back
Top