Updated Progressive Bot System

This commit is contained in:
2025-01-14 21:41:14 -05:00
parent fb99760b29
commit dded8a81d6
120 changed files with 587254 additions and 5 deletions
@@ -1,6 +1,6 @@
{
"name": "Acids Progressive Bot System",
"version": "1.4.1",
"version": "1.4.2",
"sptVersion": "~3.10",
"loadBefore": [],
"loadAfter": [
@@ -61,10 +61,8 @@ export class APBSBotGeneratorHelper extends BotGeneratorHelper
return maxResource;
}
const newResourceValue = this.randomUtil.getInt(
this.randomUtil.getPercentOfValue(randomizationValues.resourcePercent, maxResource, 0),
return this.randomUtil.getInt(this.randomUtil.getPercentOfValue(randomizationValues.resourcePercent, maxResource, 2),
maxResource
)
return newResourceValue ? newResourceValue : 1;
}
}