Fixes
Fix MaxTraderLevel Fix ExamineExperience Removed leftover log
This commit is contained in:
parent
f7405893c9
commit
2d73d3c37b
@ -146,7 +146,7 @@ class itemsModification {
|
||||
if (typeof config.items.IncreaseExamineExp == "number") {
|
||||
if (base._props.ExamineExperience !== undefined) {
|
||||
|
||||
let calculation = Math.round((base._props.ExamineExperience + ((config.items.ExamineExperience / 100) * base._props.ExamineExperience)));
|
||||
let calculation = Math.round((base._props.ExamineExperience + ((config.items.IncreaseExamineExp / 100) * base._props.ExamineExperience)));
|
||||
CoreMod.EditSimpleItemData(id, "ExamineExperience", calculation);
|
||||
}
|
||||
}
|
||||
@ -188,7 +188,6 @@ class itemsModification {
|
||||
} else {
|
||||
for (let property in config.items.ChangeIndividualItemProperty.ItemList[k]) {
|
||||
let value = config.items.ChangeIndividualItemProperty.ItemList[k][property]
|
||||
Logger.log(value)
|
||||
CoreMod.EditSimpleItemData(k, property, value);
|
||||
}
|
||||
}
|
||||
|
@ -108,7 +108,7 @@ class TradersModifications {
|
||||
let loyaltyLevels = DatabaseServer.tables.traders[traderID].base.loyalty.loyaltyLevels;
|
||||
|
||||
// level up player
|
||||
pmcData.Info.Level = PlzRefactorMeHelper.calculateLevel(pmcData);
|
||||
pmcData.Info.Level = PlayerController.calculateLevel(pmcData);
|
||||
|
||||
|
||||
for (let level in loyaltyLevels) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user