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

feat: Add in creature endpoint PWL and refactor creature variant #62

Merged
merged 12 commits into from
Jul 22, 2024

Conversation

RakuJa
Copy link
Owner

@RakuJa RakuJa commented Jul 18, 2024

  • add pwl for single creature fetch (base,weak,elite);
  • update dockerfile to avoid warnings
  • rename OptionalData to ResponseDataModifiers
  • expand variant logic to all the fields and not just hp, level, link;
  • align bybe to the new db structure, with weapon/shield/armor traits & weapon/shield/armor creature association

RakuJa added 8 commits July 11, 2024 20:15
* add pwl for single creature fetch (base,weak,elite);
* update dockerfile to avoid warnings
* rename OptionalData to ResponseDataModifiers
* update variant logic to modify more fields;
* fix wrong hp level in variant logic;
* fix wrong modifier sum in pwl/variant logic.
* expand dice logic to weapon damage data
* handle separate weapon/shield/armor creature association
* handle separate weapon/shield/armor trait association
* fix elite level -1
* get avg now is implemented in dice and can handle a weapon with multiple damage sources
*
@RakuJa RakuJa added bug Something isn't working enhancement New feature or request bestiary shop labels Jul 18, 2024
@RakuJa RakuJa requested a review from TheAsel July 18, 2024 13:10
@RakuJa RakuJa self-assigned this Jul 18, 2024
… shop generation and forged item calculation
Copy link
Collaborator

@TheAsel TheAsel left a comment

Choose a reason for hiding this comment

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

LGTM

@RakuJa RakuJa merged commit e0d3727 into add_item_endpoint Jul 22, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bestiary bug Something isn't working enhancement New feature or request shop
Projects
None yet
2 participants