Skip to content

Experience system#948

Merged
FozzieHi merged 19 commits intoFozzieHi:mainfrom
MarkusTheOrt:experience
Mar 13, 2025
Merged

Experience system#948
FozzieHi merged 19 commits intoFozzieHi:mainfrom
MarkusTheOrt:experience

Conversation

@MarkusTheOrt
Copy link
Copy Markdown
Contributor

@MarkusTheOrt MarkusTheOrt commented Feb 23, 2025

ToDo

  • Make users gain Experience
    • Random Experience between a set Min/Max
    • Experience Multipliers based on Channel and User Roles
    • Cooldown after gaining Experience
  • Make users gain levels based on Experience
    • Precompute required EXP for each Level (1 - 40) on startup
    • Check if user has gained a level
    • Increase user Level
    • Assign new roles if required (F1, F2, F3, F4)

@MarkusTheOrt
Copy link
Copy Markdown
Contributor Author

I just pushed a first idea, I might have gone a bit wrong on the folders (I would just put everything into the ExperienceService.ts instead of utils/Experience.ts)

let me know what you think

Copy link
Copy Markdown
Owner

@FozzieHi FozzieHi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MarkusTheOrt Looks really good, thanks. Yeah I agree, it can probably all go into the service file. I generally only use the utillity folder for functions reused between files.

I haven't run it yet, but I've had an initial look and have added a couple of comments.

Comment thread src/utility/Experience.ts Outdated
Comment thread src/utility/Experience.ts Outdated
@FozzieHi FozzieHi merged commit c0db250 into FozzieHi:main Mar 13, 2025
1 check passed
@FozzieHi
Copy link
Copy Markdown
Owner

Thanks!

@MarkusTheOrt MarkusTheOrt deleted the experience branch March 13, 2025 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants