From 159f6c1b1a64bb81f87b8c33b2b123b51c6375db Mon Sep 17 00:00:00 2001 From: skyleo Date: Mon, 21 Mar 2022 13:04:07 +0100 Subject: [PATCH] Fix Asura Strike being affected by ATK % bonuses such as Provoke or Gospel --- src/map/battle.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/map/battle.c b/src/map/battle.c index ae9bb302d24..38da0f50a39 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -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) {