Skip to content

Commit

Permalink
better
Browse files Browse the repository at this point in the history
  • Loading branch information
lime-green committed Oct 20, 2023
1 parent 9256a55 commit 193f377
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sim/common/wotlk/nibelung.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ func MakeNibelungTriggerAura(agent core.Agent, isHeroic bool) {

averageCasts := character.NibelungAverageCasts
duration := min(time.Duration(averageCasts/16*30)*time.Second, time.Second*30)
valkyrAura.Duration = duration
valkyrAura.Duration = max(duration, time.Millisecond*250)

if averageCasts != 0 {
valkyr.EnableWithTimeout(sim, petAgent, duration)
if averageCasts > 0 {
valkyr.EnableWithTimeout(sim, petAgent, valkyrAura.Duration)
}
break
}
Expand Down

0 comments on commit 193f377

Please sign in to comment.