Skip to content

Commit

Permalink
Rebalance of MO_INVESTIGATE (Occult Impact)
Browse files Browse the repository at this point in the history
- Damage formula changed
  - New: (SkillLevel * 100)%
- When used on target in Root state, deals 50% more damage

From massive skills rebalance (1st/2nd/transclass) (2018.10.31)
  • Loading branch information
guilherme-gm committed Feb 10, 2024
1 parent 91c6bf2 commit 399d7d0
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/map/battle.c
Original file line number Diff line number Diff line change
Expand Up @@ -2245,8 +2245,20 @@ static int battle_calc_skillratio(int attack_type, struct block_list *src, struc
case MO_FINGEROFFENSIVE:
skillratio+= 50 * skill_lv;
break;
case MO_INVESTIGATE:
case MO_INVESTIGATE: {
#ifndef RENEWAL
skillratio += 75 * skill_lv;
#else
int ratio = skill_lv * 100;

// Cast and Target must be locked in BladeStop.
// In other words: A third player won't do extra damage from hitting another Monk's blade stop
if (tsc != NULL && tsc->data[SC_BLADESTOP] != NULL && sc->data[SC_BLADESTOP] != NULL)
ratio += ratio * 50 / 100;

skillratio += - 100 + ratio;
#endif
}
break;
case MO_EXTREMITYFIST:
{
Expand Down

0 comments on commit 399d7d0

Please sign in to comment.