Originally posted by [b]malufett[/b]
actually the formula is correct but the rounding or flooring of numbers are wrong..btw the atk & matk of rA is not yet fully renewal..
I would suggest to use multiple of 10 for it to have the close result..but somehow there still discrepancy...
and as I see the coding there is something wrong..
[CODE]#ifdef RENEWAL // renewal attack bonus formula
status->batk += (int)((float)status->luk/3 + (float)level/4); //(every 3 luk = + 1ATK) + (every 4 base level = +1 ATK)
#endif[/CODE]
and before that line is the [b]status_base_atk[/b] where it returns the result of
[CODE]dstr = str/10
str += dstr*dstr dex/5 + status->luk/5;[/CODE]
the formula supposed to be
[quote]str + dex/5 + luk/3 + base_level*/4[/quote]
This post has been edited by
malufett
on May 2, 2012 13:31