Enable quality blend

This commit is contained in:
Yunfan Li
2024-08-11 22:48:06 +08:00
parent 03487f8314
commit e5bd51e395

View File

@@ -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_;
}