Revert loose loot buff (excluding Reserve)

This commit is contained in:
2024-07-21 15:16:59 +02:00
parent c83da69a3e
commit 7d1b168512
2 changed files with 9 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "nivramtweaks",
"version": "1.1.0",
"version": "1.1.1",
"sptVersion": "~3.9",
"loadBefore": [],
"loadAfter": [],
@@ -24,7 +24,7 @@
"typescript": "5.4",
"winston": "3.12"
},
"author": "Chomp",
"author": "xFaNaTiix",
"contributors": [],
"license": "MIT"
}

View File

@@ -132,18 +132,22 @@ class Mod implements IPostDBLoadMod {
}
private buffLoot() {
this.iLocationConfig.looseLootMultiplier.rezervbase = 3.3;
// static loot
const staticX = 1.2;
const looseX = 1.2;
for (const i in this.iLocationConfig.staticLootMultiplier) {
this.iLocationConfig.staticLootMultiplier[i] *= staticX;
}
// loose loot
const looseX = 1.0;
for (const i in this.iLocationConfig.looseLootMultiplier) {
this.iLocationConfig.looseLootMultiplier[i] *= looseX;
}
this.iLocationConfig.looseLootMultiplier.rezervbase = 4.2; // def. 2.9
}
private multiplyWeaponSkillProgressionRate(x: number) {