mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-04 19:43:48 +00:00
fix(Core/Player): Nerfing Heirloom Weapons Damage (#20357)
Fixing heirloom damage Co-authored-by: ariel- <ariel-@users.noreply.github.com>
This commit is contained in:
@@ -6921,7 +6921,7 @@ void Player::_ApplyWeaponDamage(uint8 slot, ItemTemplate const* proto, ScalingSt
|
||||
float maxDamage = proto->Damage[i].DamageMax;
|
||||
|
||||
// If set dpsMod in ScalingStatValue use it for min (70% from average), max (130% from average) damage
|
||||
if (ssv)
|
||||
if (ssv && i == 0) // scaling stats only for first damage
|
||||
{
|
||||
int32 extraDPS = ssv->getDPSMod(ScalingStatValue);
|
||||
if (extraDPS)
|
||||
|
||||
Reference in New Issue
Block a user