mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Enable quality blend
This commit is contained in:
parent
03487f8314
commit
e5bd51e395
@ -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_;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user