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

Implement Idol of the Dream #679

Merged
merged 6 commits into from
Apr 17, 2024
Merged

Conversation

FelixPflaum
Copy link
Contributor

From testing it at the shimmering flats dummy the 2% seem to increase the flat added damage, and the multiplier before the extra 75% from SoD are added.

@@ -7,19 +7,29 @@ import (
"github.com/wowsims/sod/sim/core/proto"
)

var sodShredEffect1Mult = 0.75 // Multiply flat dmg by this
Copy link
Contributor

@vigo2 vigo2 Apr 15, 2024

Choose a reason for hiding this comment

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

nit: for documentation, this should probably be expressed as 2.25 / (2.25 + 0.75). or use "baseMultiplier" (2.25) and "sodBonusMultiplier" (0.75) as constants, and use only them, preferably within the function, as to not leak 'em into the package namespace (and allow shorter names).

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like https://www.wowhead.com/classic/spell=436895/s03-tuning-and-overrides-passive-druid explicitly lowers the base damage (-25%) via "Apply Aura: Modifies Effect #1's Value", and this applies after the "regular" changes.

Copy link
Contributor Author

@FelixPflaum FelixPflaum Apr 17, 2024

Choose a reason for hiding this comment

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

Yeah, I wanted to recreate what the game does, hence the explicit 0.75 multiplier for effect1. But yes, naming and placement of the vars isn't optimal, made that in a hurry :D

Order for percentage "all effects" and "effect #" mods on the server side is unknown, but because it's both multiplicative it doesn't matter, unlike for the flat additive one for effect 2.

@rosenrusinov rosenrusinov merged commit fbac4cc into wowsims:master Apr 17, 2024
1 check 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.

3 participants