Skip to content

Commit

Permalink
Quickfix for #2764
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Aug 8, 2023
1 parent bbd880e commit e93f801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions State.lua
Original file line number Diff line number Diff line change
Expand Up @@ -805,8 +805,8 @@ do
if not quiet then
debug( " - we will use the ability on a different target, if available, until %s expires at %.2f [+%.2f].", cycle.aura, cycle.expires, cycle.expires - state.query_time )
end
elseif cDebuff.down and ability.cycle_to and state.active_dot[ aura ] > 0 and state.query_time < state.now + ( 2 * gcd.max ) then
cycle.expires = state.query_time + ( 2 * gcd.max ) -- Assume the aura is available for 2 GCDs (don't forecast a slow target swap).
elseif cDebuff.down and ability.cycle_to and state.active_dot[ aura ] > 0 and state.query_time < state.now + ( 2 * state.gcd.max ) then
cycle.expires = state.query_time + ( 2 * state.gcd.max ) -- Assume the aura is available for 2 GCDs (don't forecast a slow target swap).
cycle.minTTD = max( state.settings.cycle_min, ability.min_ttd or 0, cDebuff.duration / 2 )
cycle.maxTTD = ability.max_ttd

Expand Down

0 comments on commit e93f801

Please sign in to comment.