Quantcast

Updated Unleashed Flame buff check

BillLive [03-21-16 - 07:57]
Updated Unleashed Flame buff check
Filename
Elementarist.lua
diff --git a/Elementarist.lua b/Elementarist.lua
index d35801a..c9881d9 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -743,6 +743,8 @@ function Elementarist:TrackAuraSaveBuffStatus()
 		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
+		local spellInCast, _, _, _, sICstartTime, sICendTime = UnitCastingInfo("player")
+		if spellInCast==Elementarist.trackAuraBuffSpell2 then Elementarist.trackAuraBuffCount2 = Elementarist.trackAuraBuffCount2 +1 end
 	else
 		Elementarist.trackAuraBuffCount2 = ""
 	end