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

Balance Druid sim updates #3

Merged
merged 4 commits into from
Jan 30, 2024
Merged

Balance Druid sim updates #3

merged 4 commits into from
Jan 30, 2024

Conversation

kayla-glick
Copy link
Collaborator

No description provided.

@@ -69,7 +69,7 @@ func (druid *Druid) applySunfire() {
NumberOfTicks: ticks,
TickLength: time.Second * 3,
OnSnapshot: func(sim *core.Simulation, target *core.Unit, dot *core.Dot, _ bool) {
dot.SnapshotBaseDamage = (baseDotDamage / float64(ticks)) + 0.13*dot.Spell.SpellPower()
dot.SnapshotBaseDamage = baseDotDamage + 0.13*dot.Spell.SpellPower()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The base damage is actually baseCalc * .65 * 4 but up above we only use baseCalc * .65. This means each tick was actually dealing 1/4 the correct damage. I opted to remove the division by # of ticks rather than multiply the base dot damage and then divide here

image

TickLength: time.Second * 3,
OnSnapshot: func(sim *core.Simulation, target *core.Unit, dot *core.Dot, _ bool) {
dot.SnapshotBaseDamage = (baseDotDamage / 3.0) + spellDotCoeff*dot.Spell.SpellPower()
dot.SnapshotBaseDamage = (baseDotDamage / float64(ticks)) + spellDotCoeff*dot.Spell.SpellPower()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This should've been dividing by the number of ticks

@kayla-glick kayla-glick changed the title Update moonfire+sunfire damage calculations Balance Druid sim updates Jan 30, 2024
Comment on lines +46 to +52
for i, suffix := range db.RandomSuffixes {
simDB.RandomSuffixes[i] = &proto.ItemRandomSuffix{
Id: suffix.Id,
Name: suffix.Name,
Stats: suffix.Stats,
}
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suffixes needed to be loaded into the DB otherwise it would crash when using a suffix item in a test.

Comment on lines +318 to +324
faction: Faction.Alliance,
},
{
config: AllStatsPercentBuffHorde,
picker: IconPicker,
stats: []
stats: [],
faction: Faction.Horde,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Aspect of the lion being shared by two active pickers where one was hidden was causing the value to get forcibly disabled. This will filter one out all the time to prevent the issue

@kayla-glick kayla-glick merged commit 19c880c into master Jan 30, 2024
1 check passed
@kayla-glick kayla-glick deleted the balance-druid branch January 30, 2024 22:41
kayla-glick pushed a commit that referenced this pull request Nov 17, 2024
Add remaining timeworn ring bonuses
sanguinerarogue added a commit that referenced this pull request Nov 23, 2024
removed extra damage reduction code
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.

1 participant