Skip to content

docs: added xpLimit to gainExperience(int value)#490

Open
Fl1s wants to merge 4 commits intoHytaleModding:mainfrom
Fl1s:inheritance-examples-refactor
Open

docs: added xpLimit to gainExperience(int value)#490
Fl1s wants to merge 4 commits intoHytaleModding:mainfrom
Fl1s:inheritance-examples-refactor

Conversation

@Fl1s
Copy link

@Fl1s Fl1s commented Mar 23, 2026

Pull Request

Description

I added xpLimit variable to the gainExperience method to fix the problem of xp overflow, that occurs when levelUp() method is called

Type of Change

  • Documentation fix (typo, grammar, clarification)
  • New documentation (guide, tutorial, page)
  • Bug fix
  • New feature
  • Other

Screenshots

Before:
Снимок экрана 2026-03-23 в 16 45 00

After:
Снимок экрана 2026-03-23 в 16 44 06

Checklist

  • Tested locally with bun run dev
  • Formatted code to adhere Styleguide with bun format
  • Ran bun audit (some critical vulnerabilities but not from me)
  • Checked spelling and grammar
  • Verified all links work
  • Followed Contributing Guidelines

Thank you for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant