Skip to content

Commit

Permalink
Fix Asura Strike being affected by ATK % bonuses such as Provoke or G…
Browse files Browse the repository at this point in the history
…ospel
  • Loading branch information
skyleo committed Apr 30, 2024
1 parent 63c2f9f commit 159f6c1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/map/battle.c
Original file line number Diff line number Diff line change
Expand Up @@ -5310,6 +5310,19 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src, struct bl
ShowError("0 enemies targeted by %d:%s, divide per 0 avoided!\n", skill_id, skill->get_name(skill_id));
}

bool skip_atk_rate_bonus;
switch (skill_id) {
case MO_EXTREMITYFIST:
skip_atk_rate_bonus = true;
break;
default:
skip_atk_rate_bonus = false;
break;
}

if (skip_atk_rate_bonus)
break;

int temp_atk_rate = sstatus->atk_percent;
//Add any bonuses that modify the base baseatk+watk (pre-skills)
if(sd) {
Expand Down

0 comments on commit 159f6c1

Please sign in to comment.