Skip to content
Permalink
Browse files
Fixed pre-renewal atk
* Follow up fe197bf
* Fixes #3623
* Thanks to @mrjnumber1
  • Loading branch information
cydh committed Oct 31, 2018
1 parent 98ba549 commit efd61daeea454b936943430ad8be308df0ca5ca9
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/map/status.cpp
@@ -2481,13 +2481,17 @@ unsigned short status_base_atk(const struct block_list *bl, const struct status_
#ifdef RENEWAL
str = (dstr * 10 + dex * 10 / 5 + status->luk * 10 / 3 + level * 10 / 4) / 10;
#else
dstr = str / 10;
str += dstr*dstr;
str += dex / 5 + status->luk / 5;
#endif
break;
default:// Others
#ifdef RENEWAL
str = dstr + level;
#else
dstr = str / 10;
str += dstr*dstr;
str += dex / 5 + status->luk / 5;
#endif
break;

4 comments on commit efd61da

@RadianFord
Copy link
Contributor

@RadianFord RadianFord commented on efd61da Nov 3, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Cydh!

@keitenai
Copy link
Contributor

@keitenai keitenai commented on efd61da Nov 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Lemongrass3110 i think this fix should be merged to master already

@Triedge
Copy link

@Triedge Triedge commented on efd61da Nov 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@keitenai nop... the bug is persistent...

@reunite-ro
Copy link
Contributor

@reunite-ro reunite-ro commented on efd61da Dec 14, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have issues ? not merged yet ?

Please sign in to comment.