Revert loose loot buff (excluding Reserve)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nivramtweaks",
|
"name": "nivramtweaks",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"sptVersion": "~3.9",
|
"sptVersion": "~3.9",
|
||||||
"loadBefore": [],
|
"loadBefore": [],
|
||||||
"loadAfter": [],
|
"loadAfter": [],
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
"typescript": "5.4",
|
"typescript": "5.4",
|
||||||
"winston": "3.12"
|
"winston": "3.12"
|
||||||
},
|
},
|
||||||
"author": "Chomp",
|
"author": "xFaNaTiix",
|
||||||
"contributors": [],
|
"contributors": [],
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
||||||
|
|||||||
10
src/mod.ts
10
src/mod.ts
@@ -132,18 +132,22 @@ class Mod implements IPostDBLoadMod {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private buffLoot() {
|
private buffLoot() {
|
||||||
this.iLocationConfig.looseLootMultiplier.rezervbase = 3.3;
|
// static loot
|
||||||
|
|
||||||
const staticX = 1.2;
|
const staticX = 1.2;
|
||||||
const looseX = 1.2;
|
|
||||||
|
|
||||||
for (const i in this.iLocationConfig.staticLootMultiplier) {
|
for (const i in this.iLocationConfig.staticLootMultiplier) {
|
||||||
this.iLocationConfig.staticLootMultiplier[i] *= staticX;
|
this.iLocationConfig.staticLootMultiplier[i] *= staticX;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// loose loot
|
||||||
|
const looseX = 1.0;
|
||||||
|
|
||||||
for (const i in this.iLocationConfig.looseLootMultiplier) {
|
for (const i in this.iLocationConfig.looseLootMultiplier) {
|
||||||
this.iLocationConfig.looseLootMultiplier[i] *= looseX;
|
this.iLocationConfig.looseLootMultiplier[i] *= looseX;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.iLocationConfig.looseLootMultiplier.rezervbase = 4.2; // def. 2.9
|
||||||
}
|
}
|
||||||
|
|
||||||
private multiplyWeaponSkillProgressionRate(x: number) {
|
private multiplyWeaponSkillProgressionRate(x: number) {
|
||||||
|
|||||||
Reference in New Issue
Block a user