change talent

This commit is contained in:
Vick Scarlet
2021-08-19 13:08:44 +08:00
parent 9aa9e3fe2d
commit 803a1a4438
10 changed files with 165 additions and 127 deletions

View File

@@ -58,12 +58,12 @@ class Life {
const result = this.#talent.do(talentId, this.#property);
if(!result) continue;
this.#triggerTalents.add(talentId);
const { effect, name, desctiption, grade } = result;
const { effect, name, description, grade } = result;
contents.push({
type: this.#property.TYPES.TLT,
name,
grade,
desctiption,
description,
})
if(!effect) continue;
this.#property.effect(effect);