add achievement

This commit is contained in:
Vick Scarlet
2021-09-10 11:24:24 +08:00
parent e06139d5c0
commit d2f3392722
22 changed files with 16365 additions and 495 deletions

View File

@@ -16,6 +16,10 @@ class Talent {
}
}
count() {
return Object.keys(this.#talents).length;
}
check(talentId, property) {
const { condition } = this.get(talentId);
return checkCondition(property, condition);