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;
|
float maxDamage = proto->Damage[i].DamageMax;
|
||||||
|
|
||||||
// If set dpsMod in ScalingStatValue use it for min (70% from average), max (130% from average) damage
|
// 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);
|
int32 extraDPS = ssv->getDPSMod(ScalingStatValue);
|
||||||
if (extraDPS)
|
if (extraDPS)
|
||||||
|
|||||||
Reference in New Issue
Block a user