From e5bd51e39547bafa1829c57b87cc67d2b19bf978 Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Sun, 11 Aug 2024 22:48:06 +0800 Subject: [PATCH] Enable quality blend --- src/factory/StatsWeightCalculator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/factory/StatsWeightCalculator.cpp b/src/factory/StatsWeightCalculator.cpp index 2797ae0d..19dd85a0 100644 --- a/src/factory/StatsWeightCalculator.cpp +++ b/src/factory/StatsWeightCalculator.cpp @@ -69,9 +69,9 @@ float StatsWeightCalculator::CalculateItem(uint32 itemId) CalculateSocketBonus(player_, proto); - // if (enable_quality_blend_) - // // Blend with item quality and level - // weight_ *= (proto->Quality + 1) * proto->ItemLevel; + if (enable_quality_blend_) + // Blend with item quality and level + weight_ *= (proto->Quality + 1) * proto->ItemLevel; return weight_; }