Fix grade upgrade fail announcement (#7189)
Co-authored-by: Aleos <aleos89@users.noreply.github.com> Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
This commit is contained in:
@@ -23636,12 +23636,12 @@ void clif_parse_enchantgrade_start( int fd, struct map_session_data* sd ){
|
||||
clif_enchantgrade_result( *sd, index, ENCHANTGRADE_UPGRADE_SUCCESS );
|
||||
|
||||
// Check if it has to be announced
|
||||
if( enchantgradelevel->announce ){
|
||||
if( enchantgradelevel->announceSuccess ){
|
||||
clif_enchantgrade_announce( *sd, sd->inventory.u.items_inventory[index], true );
|
||||
}
|
||||
}else{
|
||||
// Check if it has to be announced (has to be done before deleting the item from inventory)
|
||||
if( enchantgradelevel->announce ){
|
||||
if( enchantgradelevel->announceFail ){
|
||||
clif_enchantgrade_announce( *sd, sd->inventory.u.items_inventory[index], false );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user