update: 名人模式解锁条件

This commit is contained in:
Vick Scarlet
2026-08-16 20:06:16 +08:00
committed by 神戸小鳥
parent 90caa8ca92
commit 0b69992037
7 changed files with 19 additions and 6 deletions
+4
View File
@@ -35,6 +35,7 @@ class Life {
#achievement
#character
#triggerTalents
#celebrityLimit
#defaultPropertyPoints
#talentSelectLimit
#propertyAllocateLimit
@@ -63,6 +64,7 @@ class Life {
}
config({
celebrityLimit = 10, // limit of celebrity
defaultPropertyPoints = 20, // default number of points for a property
talentSelectLimit = 3, // max number of talents that can be selected
propertyAllocateLimit = [0, 10], // scoop of properties that can be allocated
@@ -71,6 +73,7 @@ class Life {
propertyConfig, // config for property
characterConfig, // config for character
} = {}) {
this.#celebrityLimit = celebrityLimit
this.#defaultPropertyPoints = defaultPropertyPoints
this.#talentSelectLimit = talentSelectLimit
this.#propertyAllocateLimit = propertyAllocateLimit
@@ -347,6 +350,7 @@ class Life {
)
}
get celebrityLimit() { return this.times < this.#celebrityLimit }
get PropertyTypes() { return this.#property.TYPES }
get AchievementOpportunity() { return this.#achievement.Opportunity }
get talentSelectLimit() { return this.#talentSelectLimit }