mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-22 13:06:23 +00:00
Fix gem initialization
This commit is contained in:
@@ -3350,8 +3350,8 @@ void PlayerbotFactory::ApplyEnchantAndGemsNew(bool destoryOld)
|
|||||||
bestGemEnchantId[2] = enchant_id;
|
bestGemEnchantId[2] = enchant_id;
|
||||||
}
|
}
|
||||||
if ((gemProperties->color & 8) && score >= bestGemScore[3]) {
|
if ((gemProperties->color & 8) && score >= bestGemScore[3]) {
|
||||||
bestGemScore[2] = score;
|
bestGemScore[3] = score;
|
||||||
bestGemEnchantId[2] = enchant_id;
|
bestGemEnchantId[3] = enchant_id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user