Asuna Yuuki Nagato
02-20-2024, 01:48 AM
Steps to recreate:
Quest->Misc Data->Item Drop Sets
Select any of the 256 item drop sets
Click 'Edit'
Type a negative number in "Nothing Chance:" text box
Observe negative percentage appears in adjacent percentage label
Click 'OK'
Click 'Edit' again
Observe negative number has been replaced with 16-bit two's complement
The chance text boxes on the two tabs clamp the negative chances to zero after clicking OK, but still update the percentage label with negative percentages in the meantime.
Quest->Misc Data->Item Drop Sets
Select any of the 256 item drop sets
Click 'Edit'
Type a negative number in "Nothing Chance:" text box
Observe negative percentage appears in adjacent percentage label
Click 'OK'
Click 'Edit' again
Observe negative number has been replaced with 16-bit two's complement
The chance text boxes on the two tabs clamp the negative chances to zero after clicking OK, but still update the percentage label with negative percentages in the meantime.