|
@@ -21950,10 +21950,11 @@ void clif_parse_refineui_refine( int fd, struct map_session_data* sd ){
|
|
// Blacksmith blessings were used to prevent breaking and downgrading
|
|
// Blacksmith blessings were used to prevent breaking and downgrading
|
|
if( blacksmith_amount > 0 ){
|
|
if( blacksmith_amount > 0 ){
|
|
clif_refine( fd, 3, index, item->refine );
|
|
clif_refine( fd, 3, index, item->refine );
|
|
|
|
+ clif_refineui_info( sd, index );
|
|
// Delete the item if it is breakable
|
|
// Delete the item if it is breakable
|
|
}else if( cost->breaking_rate > 0 && ( rnd() % 10000 ) < cost->breaking_rate ){
|
|
}else if( cost->breaking_rate > 0 && ( rnd() % 10000 ) < cost->breaking_rate ){
|
|
clif_refine( fd, 1, index, item->refine );
|
|
clif_refine( fd, 1, index, item->refine );
|
|
- pc_delitem( sd, index, 1, 0, 0, LOG_TYPE_CONSUME );
|
|
|
|
|
|
+ pc_delitem( sd, index, 1, 0, 2, LOG_TYPE_CONSUME );
|
|
// Downgrade the item if necessary
|
|
// Downgrade the item if necessary
|
|
}else if( cost->downgrade_amount > 0 ){
|
|
}else if( cost->downgrade_amount > 0 ){
|
|
item->refine = cap_value( item->refine - cost->downgrade_amount, 0, MAX_REFINE );
|
|
item->refine = cap_value( item->refine - cost->downgrade_amount, 0, MAX_REFINE );
|
|
@@ -21962,6 +21963,7 @@ void clif_parse_refineui_refine( int fd, struct map_session_data* sd ){
|
|
// Only show failure, but dont do anything
|
|
// Only show failure, but dont do anything
|
|
}else{
|
|
}else{
|
|
clif_refine( fd, 3, index, item->refine );
|
|
clif_refine( fd, 3, index, item->refine );
|
|
|
|
+ clif_refineui_info( sd, index );
|
|
}
|
|
}
|
|
|
|
|
|
clif_misceffect( &sd->bl, 2 );
|
|
clif_misceffect( &sd->bl, 2 );
|