From 1a8d9d61dff3476f8b65208724fa98a1d9a77aae Mon Sep 17 00:00:00 2001 From: BillLive Date: Sat, 30 Jan 2016 21:52:51 +1030 Subject: [PATCH] set default value to Elementarist.trackAuraBuffCount1 and 2 Increase default time on priotizing flameshock buffs to 12 seconds Signed-off-by: BillLive --- Elementarist.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 -- 1.7.9.5