Skip to content

Added XP cap so you have to learn available skills before being able to grind more XP - #1829

Merged
Josh-Larson merged 2 commits into
ProjectSWGCore:masterfrom
madsboddum:xp-limit
Sep 27, 2026
Merged

Josh-Larson merged 2 commits into
ProjectSWGCore:masterfrom
madsboddum:xp-limit

Conversation

@madsboddum

@madsboddum madsboddum commented Sep 10, 2026 •

Copy link
Copy Markdown
Member
  • Convert ExperiencePointService to Kotlin
  • Limit XP per experience type, including a dataloader for a new sdb

Fixes #373

Pure conversion. Null handling is now explicit: intents without a creature,
player object or XP type are ignored, as are flytext and system messages
without a target or owner.
The limit is the highest xp_cap among the skills the player has for that XP
type, falling back to the default in datatables/skill/xp_limits.iff. Gains
beyond the limit are discarded.

Closes ProjectSWGCore#373
@Undercova Undercova added IMPROVEMENT Enhancement of an existing feature [Common Player] Service Most common services for the player labels Sep 21, 2026
@Josh-Larson
Josh-Larson merged commit 5b5c0c2 into ProjectSWGCore:master Sep 27, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Common Player] Service Most common services for the player IMPROVEMENT Enhancement of an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Limit of XP

3 participants