Skip to content
Permalink
Browse files

Corrected Joint Beat damage formula (#4325)

* Fixes #4305.
* Follow up to cb2c553.
* Corrected Joint Beat damage formula.
Thanks to @Indigo000!
  • Loading branch information...
aleos89 committed Sep 10, 2019
1 parent 4664e88 commit 63c4c9c31d463a2a691fd0e7df7f63d132c53cb7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/map/battle.cpp
@@ -3634,7 +3634,7 @@ static int battle_calc_attack_skill_ratio(struct Damage* wd, struct block_list *
skillratio += 40 * skill_lv;
break;
case LK_JOINTBEAT:
skillratio += -100 + 10 * skill_lv - 50;
skillratio += 10 * skill_lv - 50;
if (wd->miscflag & BREAK_NECK || (tsc && tsc->data[SC_JOINTBEAT] && tsc->data[SC_JOINTBEAT]->val2 & BREAK_NECK)) // The 2x damage is only for the BREAK_NECK ailment.
skillratio <<= 1;
break;

0 comments on commit 63c4c9c

Please sign in to comment.
You can’t perform that action at this time.