Skip to content

Commit

Permalink
Shadow: Fix overflow in Voidform aura.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Feb 11, 2019
1 parent 00753f7 commit 042ab60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/PriestShadow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ if UnitClassBase( 'player' ) == 'PRIEST' then
max_stack = 99,
meta = {
drop_time = function ()
if buff.voidform.down then return query_time end
if buff.voidform.applied == 0 then return 0 end

local app = buff.voidform.applied
app = app + floor( query_time - app )
Expand All @@ -393,7 +393,7 @@ if UnitClassBase( 'player' ) == 'PRIEST' then
end,

remains = function ()
return buff.voidform.drop_time - query_time
return max( 0, buff.voidform.drop_time - query_time )
end,
},
},
Expand Down

0 comments on commit 042ab60

Please sign in to comment.