Added 'Gradable' in item DB (#7218)
* Added 'Gradable' in item DB ** The field defines if the item can be graded (renewal). (Default: false) Thanks to @attackjom, @Lemongrass3110 !
This commit is contained in:
@@ -23545,6 +23545,11 @@ void clif_parse_enchantgrade_add( int fd, struct map_session_data* sd ){
|
||||
return;
|
||||
}
|
||||
|
||||
// Item can't be enhanced
|
||||
if( !sd->inventory_data[index]->flag.gradable ){
|
||||
return;
|
||||
}
|
||||
|
||||
uint16 level = 0;
|
||||
|
||||
if( sd->inventory_data[index]->type == IT_WEAPON ){
|
||||
|
||||
Reference in New Issue
Block a user