Make separate bossKill min/max properties + adjust various difficulty values
This commit is contained in:
parent
c2a6ca678e
commit
0986bd0932
@ -238,15 +238,17 @@
|
|||||||
"data": ["LeftLeg", "RightLeg"]
|
"data": ["LeftLeg", "RightLeg"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"specificLocationProb": 0.25,
|
"specificLocationProb": 0.15,
|
||||||
"distLocationBlacklist": ["laboratory", "factory4_day", "factory4_night"],
|
"distLocationBlacklist": ["laboratory", "factory4_day", "factory4_night"],
|
||||||
"distProb": 0.25,
|
"distProb": 0.2,
|
||||||
"maxDist": 100,
|
"maxDist": 100,
|
||||||
"minDist": 20,
|
"minDist": 20,
|
||||||
"maxKills": 3,
|
"maxKills": 3,
|
||||||
"minKills": 2,
|
"minKills": 2,
|
||||||
"weaponRequirementProb": 0.9,
|
"maxBossKills": 1,
|
||||||
"weaponCategoryRequirementProb": 0.2,
|
"minBossKills": 1,
|
||||||
|
"weaponRequirementProb": 0.1,
|
||||||
|
"weaponCategoryRequirementProb": 0.3,
|
||||||
"weaponCategoryRequirements": [{
|
"weaponCategoryRequirements": [{
|
||||||
"key": "Shotgun",
|
"key": "Shotgun",
|
||||||
"relativeProbability": 15,
|
"relativeProbability": 15,
|
||||||
@ -418,10 +420,12 @@
|
|||||||
"distProb": 0.25,
|
"distProb": 0.25,
|
||||||
"maxDist": 200,
|
"maxDist": 200,
|
||||||
"minDist": 20,
|
"minDist": 20,
|
||||||
"maxKills": 5,
|
"maxKills": 15,
|
||||||
"minKills": 2,
|
"minKills": 5,
|
||||||
"weaponRequirementProb": 0.9,
|
"maxBossKills": 2,
|
||||||
"weaponCategoryRequirementProb": 0.2,
|
"minBossKills": 1,
|
||||||
|
"weaponRequirementProb": 0.2,
|
||||||
|
"weaponCategoryRequirementProb": 0.3,
|
||||||
"weaponCategoryRequirements": [{
|
"weaponCategoryRequirements": [{
|
||||||
"key": "Shotgun",
|
"key": "Shotgun",
|
||||||
"relativeProbability": 10,
|
"relativeProbability": 10,
|
||||||
@ -671,15 +675,17 @@
|
|||||||
"data": ["LeftLeg", "RightLeg"]
|
"data": ["LeftLeg", "RightLeg"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"specificLocationProb": 0.25,
|
"specificLocationProb": 0.15,
|
||||||
"distLocationBlacklist": ["laboratory", "factory4_day", "factory4_night"],
|
"distLocationBlacklist": ["laboratory", "factory4_day", "factory4_night"],
|
||||||
"distProb": 0.20,
|
"distProb": 0.20,
|
||||||
"maxDist": 100,
|
"maxDist": 100,
|
||||||
"minDist": 20,
|
"minDist": 20,
|
||||||
"maxKills": 10,
|
"maxKills": 10,
|
||||||
"minKills": 5,
|
"minKills": 5,
|
||||||
"weaponRequirementProb": 0.9,
|
"maxBossKills": 1,
|
||||||
"weaponCategoryRequirementProb": 0.2,
|
"minBossKills": 1,
|
||||||
|
"weaponRequirementProb": 0.1,
|
||||||
|
"weaponCategoryRequirementProb": 0.3,
|
||||||
"weaponCategoryRequirements": [{
|
"weaponCategoryRequirements": [{
|
||||||
"key": "Shotgun",
|
"key": "Shotgun",
|
||||||
"relativeProbability": 10,
|
"relativeProbability": 10,
|
||||||
@ -853,8 +859,10 @@
|
|||||||
"minDist": 20,
|
"minDist": 20,
|
||||||
"maxKills": 15,
|
"maxKills": 15,
|
||||||
"minKills": 5,
|
"minKills": 5,
|
||||||
"weaponRequirementProb": 0.9,
|
"maxBossKills": 3,
|
||||||
"weaponCategoryRequirementProb": 0.2,
|
"minBossKills": 1,
|
||||||
|
"weaponRequirementProb": 0.2,
|
||||||
|
"weaponCategoryRequirementProb": 0.3,
|
||||||
"weaponCategoryRequirements": [{
|
"weaponCategoryRequirements": [{
|
||||||
"key": "Shotgun",
|
"key": "Shotgun",
|
||||||
"relativeProbability": 10,
|
"relativeProbability": 10,
|
||||||
@ -1018,15 +1026,17 @@
|
|||||||
"data": ["LeftLeg", "RightLeg"]
|
"data": ["LeftLeg", "RightLeg"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"specificLocationProb": 0.25,
|
"specificLocationProb": 0.15,
|
||||||
"distLocationBlacklist": ["laboratory"],
|
"distLocationBlacklist": ["laboratory"],
|
||||||
"distProb": 0.20,
|
"distProb": 0.20,
|
||||||
"maxDist": 100,
|
"maxDist": 100,
|
||||||
"minDist": 20,
|
"minDist": 20,
|
||||||
"maxKills": 3,
|
"maxKills": 3,
|
||||||
"minKills": 1,
|
"minKills": 1,
|
||||||
"weaponRequirementProb": 0.9,
|
"maxBossKills": 1,
|
||||||
"weaponCategoryRequirementProb": 0.2,
|
"minBossKills": 1,
|
||||||
|
"weaponRequirementProb": 0.1,
|
||||||
|
"weaponCategoryRequirementProb": 0.3,
|
||||||
"weaponCategoryRequirements": [{
|
"weaponCategoryRequirements": [{
|
||||||
"key": "Shotgun",
|
"key": "Shotgun",
|
||||||
"relativeProbability": 10,
|
"relativeProbability": 10,
|
||||||
@ -1131,12 +1141,14 @@
|
|||||||
"specificLocationProb": 0.25,
|
"specificLocationProb": 0.25,
|
||||||
"distLocationBlacklist": ["laboratory"],
|
"distLocationBlacklist": ["laboratory"],
|
||||||
"distProb": 0.25,
|
"distProb": 0.25,
|
||||||
"maxDist": 200,
|
"maxDist": 150,
|
||||||
"minDist": 20,
|
"minDist": 20,
|
||||||
"maxKills": 5,
|
"maxKills": 15,
|
||||||
"minKills": 2,
|
"minKills": 3,
|
||||||
"weaponRequirementProb": 0.9,
|
"maxBossKills": 3,
|
||||||
"weaponCategoryRequirementProb": 0.2,
|
"minBossKills": 1,
|
||||||
|
"weaponRequirementProb": 0.2,
|
||||||
|
"weaponCategoryRequirementProb": 0.3,
|
||||||
"weaponCategoryRequirements": [{
|
"weaponCategoryRequirements": [{
|
||||||
"key": "Shotgun",
|
"key": "Shotgun",
|
||||||
"relativeProbability": 10,
|
"relativeProbability": 10,
|
||||||
|
@ -753,7 +753,9 @@ export class RepeatableQuestController
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Draw how many npm kills are required
|
// Draw how many npm kills are required
|
||||||
const kills = this.randomUtil.randInt(eliminationConfig.minKills, eliminationConfig.maxKills + 1);
|
const kills = (targetsConfig.data(targetKey).isBoss)
|
||||||
|
? this.randomUtil.randInt(eliminationConfig.minBossKills, eliminationConfig.maxBossKills + 1)
|
||||||
|
: this.randomUtil.randInt(eliminationConfig.minKills, eliminationConfig.maxKills + 1);
|
||||||
const killDifficulty = kills;
|
const killDifficulty = kills;
|
||||||
|
|
||||||
// not perfectly happy here; we give difficulty = 1 to the quest reward generation when we have the most diffucult mission
|
// not perfectly happy here; we give difficulty = 1 to the quest reward generation when we have the most diffucult mission
|
||||||
|
@ -117,6 +117,8 @@ export interface IEliminationConfig
|
|||||||
minDist: number
|
minDist: number
|
||||||
maxKills: number
|
maxKills: number
|
||||||
minKills: number
|
minKills: number
|
||||||
|
minBossKills: number
|
||||||
|
maxBossKills: number
|
||||||
weaponCategoryRequirementProb: number
|
weaponCategoryRequirementProb: number
|
||||||
weaponCategoryRequirements: IWeaponRequirement[]
|
weaponCategoryRequirements: IWeaponRequirement[]
|
||||||
weaponRequirementProb: number
|
weaponRequirementProb: number
|
||||||
|
Loading…
Reference in New Issue
Block a user