Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend and clean up monster skill DB code #2691

Merged
merged 14 commits into from
May 3, 2020

Conversation

Kenpachi2k13
Copy link
Member

@Kenpachi2k13 Kenpachi2k13 commented Apr 11, 2020

Pull Request Prelude

Changes Proposed

  • Add missing constants to enable global skills assignment.
  • Harmonize behaviour of cast condition constants.
  • Add some error messages.
  • Add proper defaulting and capping when reading monster skill DBs.
  • Apply code style.
  • Add Windows support for predefined identifier __func__. (Not related to the topic but useful.)

Issues addressed: None.

@Kenpachi2k13 Kenpachi2k13 added type:enhancement Issue describes an enhancement or feature that should be implemented component:core Affecting the Hercules core (i.e. not the game mechanics directly) component:databases Affecting the databases available in the db/ folder status:code-review Awaiting code review component:mechanics:skills Affecting the skills' game mechanics labels Apr 11, 2020
@Kenpachi2k13 Kenpachi2k13 added this to the Release v2020.05.03 milestone Apr 11, 2020
@Kenpachi2k13 Kenpachi2k13 self-assigned this Apr 11, 2020
src/map/mob.c Show resolved Hide resolved
src/map/mob.c Show resolved Hide resolved
@Kenpachi2k13 Kenpachi2k13 mentioned this pull request Apr 14, 2020
3 tasks
Kenpachi2k13 added a commit to Zarbony/Hercules that referenced this pull request Apr 14, 2020
Line numbers in src/map/mob.c get changed in HerculesWS#2691
@MishimaHaruna MishimaHaruna merged commit 24f518f into HerculesWS:master May 3, 2020
@Kenpachi2k13 Kenpachi2k13 deleted the mob_skill_db branch May 4, 2020 14:03
Copy link
Contributor

@skyleo skyleo left a comment

Choose a reason for hiding this comment

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

@Kenpachi2k13 Please address these suggestions in possibly a new pull request.

src/map/mob.c Show resolved Hide resolved
src/map/mob.c Show resolved Hide resolved
src/map/mob.c Show resolved Hide resolved
src/map/mob.c Show resolved Hide resolved
@Kenpachi2k13
Copy link
Member Author

@skyleo Done in #2887.

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) component:databases Affecting the databases available in the db/ folder component:mechanics:skills Affecting the skills' game mechanics status:code-review Awaiting code review type:enhancement Issue describes an enhancement or feature that should be implemented
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants