add talent achievement rate

This commit is contained in:
Vick Scarlet
2021-09-10 13:16:44 +08:00
parent 166f3b8a58
commit 55caf12417
5 changed files with 69 additions and 18 deletions

View File

@@ -116,7 +116,9 @@ class Life {
}
talentRandom() {
return this.#talent.talentRandom(this.getLastExtendTalent());
const times = this.#property.get(this.#property.TYPES.TMS);
const achievement = this.#property.get(this.#property.TYPES.CACHV);
return this.#talent.talentRandom(this.getLastExtendTalent(), { times, achievement });
}
talentExtend(talentId) {