mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-04-19 03:10:01 +08:00
add achievement
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user