mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
fix(Core/Spells): Prevent dual-wield penalty from double dipping on Threat of Thassarian base damage (#27424)
Co-authored-by: AlsoNotMehh <[email protected]>
This commit is contained in:
co-authored by
AlsoNotMehh
parent
eaf69eff75
commit
ef96a8f3bc
@@ -3801,6 +3801,9 @@ void Spell::EffectWeaponDmg(SpellEffIndex effIndex)
|
||||
break;
|
||||
case OFF_ATTACK:
|
||||
unitMod = UNIT_MOD_DAMAGE_OFFHAND;
|
||||
// Base damage is already halved in DBC for Threat of Thassarian off-hand spells
|
||||
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT)
|
||||
fixed_bonus *= 2;
|
||||
break;
|
||||
case RANGED_ATTACK:
|
||||
unitMod = UNIT_MOD_DAMAGE_RANGED;
|
||||
|
||||
Reference in New Issue
Block a user