Skip to content

Commit

Permalink
force rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
rosenrusinov committed Feb 19, 2024
1 parent 833a959 commit 431c9ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sim/hunter/aspects.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ func (hunter *Hunter) registerAspectOfTheViperSpell() {
var manaPA *core.PendingAction

baseManaRegenMultiplier := 0.01
manaPerRangedHitMultiplier := baseManaRegenMultiplier * hunter.AutoAttacks.Ranged().SwingSpeed
manaPerMHHitMultiplier := baseManaRegenMultiplier * hunter.AutoAttacks.MH().SwingSpeed
manaPerOHHitMultiplier := baseManaRegenMultiplier * hunter.AutoAttacks.OH().SwingSpeed

aspectOfTheViperAura := hunter.GetOrRegisterAura(core.Aura{
Label: "Aspect of the Viper",
Expand All @@ -118,10 +115,13 @@ func (hunter *Hunter) registerAspectOfTheViperSpell() {

OnSpellHitDealt: func(aura *core.Aura, sim *core.Simulation, spell *core.Spell, result *core.SpellResult) {
if spell == hunter.AutoAttacks.RangedAuto() {
manaPerRangedHitMultiplier := baseManaRegenMultiplier * hunter.AutoAttacks.Ranged().SwingSpeed
hunter.AddMana(sim, hunter.MaxMana()*manaPerRangedHitMultiplier, manaMetrics)
} else if spell == hunter.AutoAttacks.MHAuto() {
manaPerMHHitMultiplier := baseManaRegenMultiplier * hunter.AutoAttacks.MH().SwingSpeed
hunter.AddMana(sim, hunter.MaxMana()*manaPerMHHitMultiplier, manaMetrics)
} else if spell == hunter.AutoAttacks.OHAuto() {
manaPerOHHitMultiplier := baseManaRegenMultiplier * hunter.AutoAttacks.OH().SwingSpeed
hunter.AddMana(sim, hunter.MaxMana()*manaPerOHHitMultiplier, manaMetrics)
}
},
Expand Down

0 comments on commit 431c9ff

Please sign in to comment.