Skip to content

Commit

Permalink
fix DRW haste scaling, rename scaling constant
Browse files Browse the repository at this point in the history
  • Loading branch information
lime-green committed Oct 17, 2023
1 parent 442f30a commit 7f3c8df
Show file tree
Hide file tree
Showing 7 changed files with 307 additions and 308 deletions.
2 changes: 1 addition & 1 deletion sim/deathknight/dancing_rune_weapon.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (dk *Deathknight) NewRuneWeapon() *RuneWeaponPet {
}, func(ownerStats stats.Stats) stats.Stats {
return stats.Stats{
stats.AttackPower: ownerStats[stats.AttackPower],
stats.MeleeHaste: ownerStats[stats.MeleeHaste] * PetHasteScale,
stats.MeleeHaste: ownerStats[stats.MeleeHaste],

stats.MeleeHit: ownerStats[stats.MeleeHit],
stats.SpellHit: ownerStats[stats.MeleeHit] * PetSpellHitScale,
Expand Down
6 changes: 3 additions & 3 deletions sim/deathknight/deathknight.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ const (
)

const (
PetSpellHitScale = 17.0 / 8.0 * core.SpellHitRatingPerHitChance / core.MeleeHitRatingPerHitChance // 1.7
PetExpertiseScale = 3.25 * core.ExpertisePerQuarterPercentReduction / core.MeleeHitRatingPerHitChance // 0.8125
PetHasteScale = core.HasteRatingPerHastePercent / (core.HasteRatingPerHastePercent / 1.3) // 1.3
PetSpellHitScale = 17.0 / 8.0 * core.SpellHitRatingPerHitChance / core.MeleeHitRatingPerHitChance // 1.7
PetExpertiseScale = 3.25 * core.ExpertisePerQuarterPercentReduction / core.MeleeHitRatingPerHitChance // 0.8125
PetSpellHasteScale = 1.3
)

var TalentTreeSizes = [3]int{28, 29, 31}
Expand Down
Loading

0 comments on commit 7f3c8df

Please sign in to comment.