mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Fix gem initialization
This commit is contained in:
parent
124fa9d5e0
commit
31bb36e751
@ -3350,8 +3350,8 @@ void PlayerbotFactory::ApplyEnchantAndGemsNew(bool destoryOld)
|
||||
bestGemEnchantId[2] = enchant_id;
|
||||
}
|
||||
if ((gemProperties->color & 8) && score >= bestGemScore[3]) {
|
||||
bestGemScore[2] = score;
|
||||
bestGemEnchantId[2] = enchant_id;
|
||||
bestGemScore[3] = score;
|
||||
bestGemEnchantId[3] = enchant_id;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user