Skip to content

Commit

Permalink
Adjust TimeToReady for abilities that cannot be cast while casting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Jan 26, 2020
1 parent 0e66df9 commit a13f381
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions State.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5826,6 +5826,10 @@ function state:TimeToReady( action, pool )
wait = max( wait, ability.readyTime )
end

if state.spec.fire and state.buff.casting.up and not ability.castableWhileCasting then
wait = max( wait, state.buff.casting.remains )
end

return max( wait, self.delayMin )
end

Expand Down

0 comments on commit a13f381

Please sign in to comment.