A rounding rule in AilmentAction
HerDataSam opened this issue · comments
- A rounding rule of dot damages
SLIP_DAMAGE which comes from ailments should be rounded down. It is because the result value ends with the conversion (long)
, and this conversion drops the floating-point numbers in the CSharp. This issue is suggested by a Korean user who compared the values between in-game damage of Mitsuki's 'Curse Bloom+' and Aoi's 'Poison Arrow+', and Notes' calculated damage.
If there are any client updates about this calculation, you can ignore it.
- A potential error
%s
is missed at the second line of the code below, while zh version is fine.
ShizuruNotes/app/src/main/res/values/strings.xml
Lines 674 to 675 in ce0c518
Thanks.
I've checked about this, the entire conversion is double→float→int→long, thus it seems that you are right, I'll fix it later. Thx a lot!