mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Compare commits
1 Commits
ce2a990495
...
hermensbas
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b7f4b4f61f |
@@ -97,8 +97,7 @@ float StatsWeightCalculator::CalculateItem(uint32 itemId, int32 randomPropertyId
|
|||||||
// Use player level as effective item level for heirlooms - Quality EPIC
|
// Use player level as effective item level for heirlooms - Quality EPIC
|
||||||
// Else - Blend with item quality and level for normal items
|
// Else - Blend with item quality and level for normal items
|
||||||
if (proto->Quality == ITEM_QUALITY_HEIRLOOM)
|
if (proto->Quality == ITEM_QUALITY_HEIRLOOM)
|
||||||
weight_ *= PlayerbotFactory::CalcMixedGearScore(lvl, ITEM_QUALITY_EPIC);
|
weight_ *= PlayerbotFactory::CalcMixedGearScore(lvl, ITEM_QUALITY_EPIC);
|
||||||
|
|
||||||
else
|
else
|
||||||
weight_ *= PlayerbotFactory::CalcMixedGearScore(proto->ItemLevel, proto->Quality);
|
weight_ *= PlayerbotFactory::CalcMixedGearScore(proto->ItemLevel, proto->Quality);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user