mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
typo
This commit is contained in:
+1
-1
@@ -286,7 +286,7 @@ void Mob::AddItemBonuses(const EQ::ItemInstance* inst, StatBonuses* b, bool is_a
|
||||
}
|
||||
|
||||
const auto recommended_level = is_augment ? recommended_level_override : inst->GetItemRecommendedLevel(true);
|
||||
const bool meets_recommended = (IsNPC() && RuleB(Items, NPCUseRecommendedLevels)) || current_level >= recommended_level;
|
||||
const bool meets_recommended = (IsNPC() && !RuleB(Items, NPCUseRecommendedLevels)) || current_level >= recommended_level;
|
||||
|
||||
auto CalcItemBonus = [&](int statValue) -> int {
|
||||
return statValue ? (meets_recommended ? statValue : CalcRecommendedLevelBonus(current_level, recommended_level, statValue)) : 0;
|
||||
|
||||
Reference in New Issue
Block a user