Skip to content

Pay the character experience for a won wild pet battle - #1626

Open
icemansparks wants to merge 1 commit into
ProjectSkyfire:mainfrom
icemansparks:upstream/player-xp
Open

icemansparks wants to merge 1 commit into
ProjectSkyfire:mainfrom
icemansparks:upstream/player-xp

Conversation

@icemansparks

Copy link
Copy Markdown
Contributor

A won wild pet battle gives the pets experience but the character gets none.

To reproduce: take a character below the level cap with a level 5 battle pet, win a wild pet battle, and look at the character's experience. It has not moved.

This pays the character the experience of one creature kill at its own level when a wild pet battle is won, scaled by a new Rate.XP.PetBattlePlayer option (default 1). It pays nothing when the team's highest-level pet is more than 5 levels above the enemy. Fails on main, passes with this change.

A won wild pet battle, a capture included, pays the owner character the
experience of one creature kill at its own level, scaled by
Rate.XP.PetBattlePlayer. It pays nothing when the team's highest-level pet
outlevels the highest-level enemy pet by more than 5 levels.
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant