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

Fix reproduceskill and cloneskill being used in checks when being zero #3322

Merged

Conversation

skyleo
Copy link
Contributor

@skyleo skyleo commented Sep 16, 2024

Pull Request Prelude

Changes Proposed

Fix reproduceskill and cloneskill being used in checks when being zero

This resulted in for example skills gained temporarily by equipping which used SKILL_FLAG_REPLACED_LV_* to be not cleared when taking the equip off.

This bug was introduced in #3298

NOTE: It's debatable if the loop that recreates skill levels of SKILL_FLAG_REPLACED_LV_* and SKILL_FLAG_TEMPORARY skills should be part of pc->calc_skilltree_clear(..) as well. But that's refactoring and not in the scope of this PR.

Issues addressed: None

This resulted in for example skills gained temporarily by equipping which used SKILL_FLAG_REPLACED_LV_* to be not cleared when taking the equip off.
@MishimaHaruna MishimaHaruna added this to the Release v2024.09 milestone Sep 28, 2024
@MishimaHaruna MishimaHaruna merged commit aec44c1 into HerculesWS:master Sep 29, 2024
316 checks passed
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.

2 participants