From 193f37772021c819cce4b331abe5fd2f82a98e96 Mon Sep 17 00:00:00 2001 From: Josh DM Date: Fri, 20 Oct 2023 16:26:29 -0400 Subject: [PATCH] better --- sim/common/wotlk/nibelung.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sim/common/wotlk/nibelung.go b/sim/common/wotlk/nibelung.go index 73207bc6cb..43cd2cd8d6 100644 --- a/sim/common/wotlk/nibelung.go +++ b/sim/common/wotlk/nibelung.go @@ -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 }