v7.3.0.1 - Small api update
Pawel [12-12-17 - 23:24]
v7.3.0.1 - Small api update
diff --git a/MaxDps.toc b/MaxDps.toc
index a0481b6..a7f9dac 100644
--- a/MaxDps.toc
+++ b/MaxDps.toc
@@ -1,6 +1,6 @@
## Title: MaxDps
## Notes: Rotation helper framework.
-## Version: 7.3.0
+## Version: 7.3.0.1
## Author: Kaminaris
## Interface: 70300
## SavedVariables: MaxDpsOptions
diff --git a/helper.lua b/helper.lua
index fb5691b..7f5973b 100644
--- a/helper.lua
+++ b/helper.lua
@@ -90,12 +90,12 @@ end
function MaxDps:TargetAura(name, timeShift)
timeShift = timeShift or 0;
local spellName = GetSpellInfo(name) or name;
- local _, _, _, _, _, _, expirationTime = UnitAura('target', spellName, nil, 'PLAYER|HARMFUL');
+ local _, _, _, count, _, _, expirationTime = UnitAura('target', spellName, nil, 'PLAYER|HARMFUL');
if expirationTime ~= nil and (expirationTime - GetTime()) > timeShift then
local cd = expirationTime - GetTime() - (timeShift or 0);
- return true, cd;
+ return true, cd, count;
end
- return false, 0;
+ return false, 0, 0;
end
function MaxDps:EndCast(target)