Skip to content

Conversation

@Emistry
Copy link
Member

@Emistry Emistry commented Jul 20, 2019

Pull Request Prelude

Changes Proposed

  • homunculus will obtain a portion or full EXP (1~100%) from master. (0% = disable)
  • @showexp shall display homunculus EXP gain.

homunculus gain 10% bonus exp from master. (default = 10%)

Battle configuration has been reloaded.
Experience Gained Base:56 (0.00%) Job:60 (0.06%)
Homunculus Experience Gained Base:5 (0.23%)
Details

homunculus gain 50% bonus exp from master.

Battle configuration has been reloaded.
Experience Gained Base:56 (0.00%) Job:60 (0.06%)
Homunculus Experience Gained Base:28 (1.29%)

homunculus gain 100% bonus exp from master.

Gained exp is now shown.
Experience Gained Base:56 (0.00%) Job:60 (0.06%)
Homunculus Experience Gained Base:56 (2.57%)

Issues addressed:
#2313

@Emistry Emistry added the component:core Affecting the Hercules core (i.e. not the game mechanics directly) label Jul 20, 2019
@Emistry Emistry added this to the Match Official Content milestone Jul 20, 2019
@HerculesWSAPI
Copy link
Contributor

This change is Reviewable


if (hd->master->state.showexp) {
char output[256];
sprintf(output, "Homunculus Experience Gained Base:%u (%.2f%%)", exp, ((float)exp / (float)hd->exp_next * (float)100));
Copy link
Contributor

Choose a reason for hiding this comment

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

need check hd->exp_next for closer to 0 for avoid division by zero

Copy link
Member Author

Choose a reason for hiding this comment

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

updated

- homunculus will obtain a portion or full EXP from master.
- fixes HerculesWS#2313
@MishimaHaruna MishimaHaruna merged commit cd04fd9 into HerculesWS:master Jul 28, 2019
@Emistry Emistry deleted the homun_exp branch July 29, 2019 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:core Affecting the Hercules core (i.e. not the game mechanics directly)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants