mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Enable quality blend
This commit is contained in:
@@ -69,9 +69,9 @@ float StatsWeightCalculator::CalculateItem(uint32 itemId)
|
|||||||
|
|
||||||
CalculateSocketBonus(player_, proto);
|
CalculateSocketBonus(player_, proto);
|
||||||
|
|
||||||
// if (enable_quality_blend_)
|
if (enable_quality_blend_)
|
||||||
// // Blend with item quality and level
|
// Blend with item quality and level
|
||||||
// weight_ *= (proto->Quality + 1) * proto->ItemLevel;
|
weight_ *= (proto->Quality + 1) * proto->ItemLevel;
|
||||||
|
|
||||||
return weight_;
|
return weight_;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user