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

@@ -19,6 +19,10 @@ class Event {
}
}
count() {
return Object.keys(this.#events).length;
}
check(eventId, property) {
const { include, exclude, NoRandom } = this.get(eventId);
if(NoRandom) return false;