From 605480f1c4e0246fb7790cff66f1a03630a2cc66 Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Thu, 19 Oct 2023 16:19:43 -0400 Subject: [PATCH] [Bug Fix] Fix Finishing Blow Proc Chance (#3639) # Notes - We were double adding `spellbonuses` and not adding `itembonuses` per https://github.com/EQEmu/Server/issues/3636. --- zone/attack.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zone/attack.cpp b/zone/attack.cpp index 165a6dfd7..8371d00fc 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -5212,8 +5212,11 @@ bool Mob::TryFinishingBlow(Mob *defender, int64 &damage) FB_Level = itembonuses.FinishingBlowLvl[SBIndex::FINISHING_EFFECT_LEVEL_MAX]; // modern AA description says rank 1 (500) is 50% chance - int ProcChance = - aabonuses.FinishingBlow[SBIndex::FINISHING_EFFECT_PROC_CHANCE] + spellbonuses.FinishingBlow[SBIndex::FINISHING_EFFECT_PROC_CHANCE] + spellbonuses.FinishingBlow[SBIndex::FINISHING_EFFECT_PROC_CHANCE]; + int ProcChance = ( + aabonuses.FinishingBlow[SBIndex::FINISHING_EFFECT_PROC_CHANCE] + + itembonuses.FinishingBlow[SBIndex::FINISHING_EFFECT_PROC_CHANCE] + + spellbonuses.FinishingBlow[SBIndex::FINISHING_EFFECT_PROC_CHANCE] + ); if (FB_Level && FB_Dmg && (defender->GetLevel() <= FB_Level) && (ProcChance >= zone->random.Int(1, 1000))) {