Fixed pre-renewal atk (#3752)
Follow up fe197bfa120aef5fd31c6896122b35fdc06774b4 Fixes #3623 Thanks to @mrjnumber1
This commit is contained in:
parent
2d4a594948
commit
e8a7daec9f
@ -2481,6 +2481,8 @@ unsigned short status_base_atk(const struct block_list *bl, const struct status_
|
|||||||
#ifdef RENEWAL
|
#ifdef RENEWAL
|
||||||
str = (dstr * 10 + dex * 10 / 5 + status->luk * 10 / 3 + level * 10 / 4) / 10;
|
str = (dstr * 10 + dex * 10 / 5 + status->luk * 10 / 3 + level * 10 / 4) / 10;
|
||||||
#else
|
#else
|
||||||
|
dstr = str / 10;
|
||||||
|
str += dstr*dstr;
|
||||||
str += dex / 5 + status->luk / 5;
|
str += dex / 5 + status->luk / 5;
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
@ -2488,6 +2490,8 @@ unsigned short status_base_atk(const struct block_list *bl, const struct status_
|
|||||||
#ifdef RENEWAL
|
#ifdef RENEWAL
|
||||||
str = dstr + level;
|
str = dstr + level;
|
||||||
#else
|
#else
|
||||||
|
dstr = str / 10;
|
||||||
|
str += dstr*dstr;
|
||||||
str += dex / 5 + status->luk / 5;
|
str += dex / 5 + status->luk / 5;
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user