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:
Atemo
2022-08-29 13:28:09 +02:00
committed by GitHub
parent 5f4fd5c98b
commit 17751aa4d7
20 changed files with 232 additions and 2 deletions

View File

@@ -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 ){