set default value to Elementarist.trackAuraBuffCount1 and 2
BillLive [01-30-16 - 11:22]
set default value to Elementarist.trackAuraBuffCount1 and 2
Increase default time on priotizing flameshock buffs to 12 seconds
Signed-off-by: BillLive <bill@live.com.au>
diff --git a/Elementarist.lua b/Elementarist.lua
index e037103..3c8bf63 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -363,7 +363,7 @@ function Elementarist:InitSettings()
if ElementaristDB.trackAuraBuffs == nil then ElementaristDB.trackAuraBuffs = true end
if ElementaristDB.DpsTxtDisabled == nil then ElementaristDB.DpsTxtDisabled = false end
if ElementaristDB.maximizeFS == nil then ElementaristDB.maximizeFS = true end
- if ElementaristDB.doFSThreshold == nil then ElementaristDB.doFSThreshold = 9 end
+ if ElementaristDB.doFSThreshold == nil then ElementaristDB.doFSThreshold = 12 end
if ElementaristDB.disableLM == nil then ElementaristDB.disableLM = false end
if ElementaristDB.showHealingStream == nil then ElementaristDB.showHealingStream = false end
end
@@ -716,15 +716,19 @@ end
function Elementarist:TrackAuraSaveBuffStatus()
- if Elementarist.trackAuraBuffSpell1 then
+ if (Elementarist.trackAuraBuffSpell1) then
buffname, _, _,Elementarist.trackAuraBuffCount1 = Elementarist:hasBuff("player",Elementarist.trackAuraBuffSpell1)
if Elementarist.trackAuraBuffCount1 == nil then Elementarist.trackAuraBuffCount1 = 0 end
if buffname and (Elementarist.trackAuraBuffCount1 == 0) then Elementarist.trackAuraBuffCount1 = 1 end
+ else
+ Elementarist.trackAuraBuffCount1 = ""
end
- if Elementarist.trackAuraBuffSpell2 then
+ if (Elementarist.trackAuraBuffSpell2) then
buffname, _, _,Elementarist.trackAuraBuffCount2 = Elementarist:hasBuff("player",Elementarist.trackAuraBuffSpell2)
if Elementarist.trackAuraBuffCount2 == nil then Elementarist.trackAuraBuffCount2 = 0 end
if buffname and (Elementarist.trackAuraBuffCount2 == 0) then Elementarist.trackAuraBuffCount2 = 1 end
+ else
+ Elementarist.trackAuraBuffCount2 = ""
end
end