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

[Feral] Talents Code Refactor #1322

Merged
merged 8 commits into from
Jan 26, 2025
Merged

[Feral] Talents Code Refactor #1322

merged 8 commits into from
Jan 26, 2025

Conversation

NerdEgghead
Copy link
Contributor

I finally figured out how to refactor things so that stat buffs + stat dependencies associated with a Druid form Aura can be applied during the appropriate character build phase for each effect. As a result, stat contributions in the UI stats display for the Feral and Guardian sims finally add up to the total value. This does come at a small performance cost due to chaining multiple callbacks for the form Auras vs. evaluating all effects in one function.

phase so that they can be active during intermediate stats measurements,
and make required changes so that final stats remain the same as before.

 On branch feral
 Changes to be committed:
	modified:   sim/core/character.go
	modified:   sim/druid/druid.go
	modified:   sim/druid/feral/feral.go
	modified:   sim/druid/forms.go
	modified:   sim/druid/guardian/tank.go
after the refactor due to the form being Humanoid after deactivation of
build phase auras.

 On branch feral
 Changes to be committed:
	modified:   sim/druid/druid.go
tracker Aura utility in core. In addition to making the implementations
compatible with item swapping, this refactor also makes the contribution
of leather spec show up in the "Gear" section of the character stats
breakdown, rather than showing up only in the total.

 On branch feral
 Changes to be committed:
	modified:   sim/core/character.go
	modified:   sim/druid/druid.go
	modified:   sim/druid/forms.go
Cat Form Crit buff to be correctly attributed to "Talents" in the
character sheet.

 On branch feral
 Changes to be committed:
	modified:   sim/core/aura_helpers.go
	modified:   sim/druid/forms.go
	modified:   sim/druid/talents.go
allowing the Agi and Stam contributions to now show up in the character
sheet Talents section. Full migration not possible currently due to the
Bear Form healing logic.

 On branch feral
 Changes to be committed:
	modified:   sim/druid/druid.go
	modified:   sim/druid/forms.go
	modified:   sim/druid/talents.go
Dodge buff shows up in the character sheet Talents contribution.

 On branch feral
 Changes to be committed:
	modified:   sim/core/aura_helpers.go
	modified:   sim/druid/forms.go
	modified:   sim/druid/talents.go
Dodge buff to show up as a Talents contribution in the character sheet.

 On branch feral
 Changes to be committed:
	modified:   sim/druid/forms.go
	modified:   sim/druid/talents.go
stats display.

 On branch feral
 Changes to be committed:
	modified:   sim/druid/forms.go
	modified:   sim/druid/talents.go
@github-actions github-actions bot added the Druid label Jan 26, 2025
@NerdEgghead NerdEgghead merged commit 3c60708 into master Jan 26, 2025
3 checks passed
@NerdEgghead NerdEgghead deleted the feral branch January 26, 2025 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant