aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorTymanWasTaken <tyman@tyman.tech>2021-05-16 13:53:04 -0400
committerGitHub <noreply@github.com>2021-05-16 13:53:04 -0400
commit1db014860c3cf6070bb29f75b6a8cf08070e5b9a (patch)
tree00b0a453b7b499302a6eac396919b6f02f13fcfc /src/lib
parent84096890aca4a8c8604b0727cd61294d7d9c2619 (diff)
downloadtanzanite-1db014860c3cf6070bb29f75b6a8cf08070e5b9a.tar.gz
tanzanite-1db014860c3cf6070bb29f75b6a8cf08070e5b9a.tar.bz2
tanzanite-1db014860c3cf6070bb29f75b6a8cf08070e5b9a.zip
Fix numbers
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/models/Level.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/models/Level.ts b/src/lib/models/Level.ts
index 0d951a1..f08f29b 100644
--- a/src/lib/models/Level.ts
+++ b/src/lib/models/Level.ts
@@ -40,6 +40,6 @@ export class Level extends BaseModel<LevelModel, LevelModelCreationAttributes> {
return xp;
}
static genRandomizedXp(): number {
- return Math.floor(Math.random() * (75 - 25 + 1)) + 35;
+ return Math.floor(Math.random() * (40 - 15 + 1)) + 15;
}
}