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

Pp Refactoring: Reworking StrainSkill #29290

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Givikap120
Copy link
Contributor

The main goal of this PR is to remove unnecessary code duplication of strain logic, making it much simpler and easier to understand.

  • StrainDecaySkill is removed. The logic of StrainDecaySkill is moved to the StrainSkill
  • Because of this, STD strain skills logic was reworked, removing code duplication from classes Aim and Flashlight
  • Renamed DecayWeight to SumDecay to avoid confusion with StrainDecayBase, what is entirely different constant.

@Givikap120 Givikap120 changed the title Pp Refactoring: Reworking StrainSkill Pp Refactoring: Reworking StrainSkill Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Pending Review
Development

Successfully merging this pull request may close these issues.

2 participants