Archived
Updated Progressive Bot System
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Acids Progressive Bot System",
|
||||
"version": "1.4.1",
|
||||
"version": "1.4.2",
|
||||
"sptVersion": "~3.10",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [
|
||||
|
||||
+1
-3
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user