Skip to content

Commit

Permalink
[Spell] PandemicThreshold
Browse files Browse the repository at this point in the history
  • Loading branch information
Kutikuti committed Oct 16, 2017
1 parent d0e0581 commit a65955b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions AethysCore/Class/Spell/Main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -258,3 +258,9 @@
local BaseDuration = Duration[2];
return BaseDuration / 1000;
end

function Spell:PandemicThreshold ()
local BaseDuration = self:BaseDuration()
if not BaseDuration or BaseDuration == 0 then return 0; end
return BaseDuration * 0.3;
end

0 comments on commit a65955b

Please sign in to comment.