Quantcast

4.2 compatibility, cooldown counter on FS debuff tracker has better position if no OmniCC installed

Taracque [06-29-11 - 09:15]
4.2 compatibility, cooldown counter on FS debuff tracker has better position if no OmniCC installed
Filename
Change_log.txt
Ele_GUI.lua
Elementarist.lua
Elementarist.toc
diff --git a/Change_log.txt b/Change_log.txt
index 2a1d94e..69f98e8 100755
--- a/Change_log.txt
+++ b/Change_log.txt
@@ -1,3 +1,6 @@
+**v2.0.4**
+* Change: 4.2 compatibility
+
 **v2.0.3**
 * Bugfix: Flame Shock doesn't shown in the queue after Earth Shock.
 * Change: Earth Shock advised only if FS debuff has higher remaining than FS cooldown.
diff --git a/Ele_GUI.lua b/Ele_GUI.lua
index ee546c8..08db624 100755
--- a/Ele_GUI.lua
+++ b/Ele_GUI.lua
@@ -577,7 +577,9 @@ function Elementarist:CreateGUI()
 	Elementarist.textureList["debuff"] = t

 	t = debuffTracker_cd:CreateFontString("$parent_DebuffText","OVERLAY","GameFontNormalLarge")
-	t:SetAllPoints(debuffTracker)
+	t:SetPoint("TOPLEFT", debuffTracker, "TOPLEFT", 0, 0)
+	t:SetWidth(50)
+	t:SetHeight(50)
 	t:SetAlpha(1)
 	t:SetText("")
 	Elementarist.textList["debuff"] = t
diff --git a/Elementarist.lua b/Elementarist.lua
index 218f9b0..dcf6aa4 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -1,5 +1,5 @@
 -------------------------------------------------------------------------------
--- Elementarist 2.0.3
+-- Elementarist 2.0.4
 --
 -- Shows the advised spell for an elemental shaman for optimal DPS output.
 -------------------------------------------------------------------------------
@@ -8,7 +8,7 @@ Elementarist = {Locals = {}}

 local L = Elementarist.Locals

-Elementarist.versionNumber = '2.0.3'
+Elementarist.versionNumber = '2.0.4'
 Elementarist.playerName = UnitName("player")
 Elementarist.playerGUID = UnitGUID("player")
 Elementarist.targetGUID = nil
@@ -389,9 +389,7 @@ function Elementarist.HighDMGFormat(dmg_amount)
 	end
 end

--- for 4.2:
--- function Elementarist.events.COMBAT_LOG_EVENT_UNFILTERED(timestamp, event, hideCaster, srcGUID, srcName, srcFlags, srcRaidFlags, dstGUID, dstName, dstFlags, dstRaidFlags, spellId, spellName, spellSchool, damage, ...)
-function Elementarist.events.COMBAT_LOG_EVENT_UNFILTERED(timestamp, event, hideCaster, srcGUID, srcName, srcFlags, dstGUID, dstName, dstFlags, spellId, spellName, spellSchool, damage, ...)
+function Elementarist.events.COMBAT_LOG_EVENT_UNFILTERED(timestamp, event, hideCaster, srcGUID, srcName, srcFlags, srcRaidFlags, dstGUID, dstName, dstFlags, dstRaidFlags, spellId, spellName, spellSchool, damage, ...)
 	if Elementarist.isEnabled() then
 		if srcName == Elementarist.playerName then
 			if (event=="SPELL_PERIODIC_DAMAGE") and (spellName==Elementarist.SpellList["Flame Shock"]) and (Elementarist.debuffCooldowns[dstGUID]) then
diff --git a/Elementarist.toc b/Elementarist.toc
index c94f637..c7a5997 100755
--- a/Elementarist.toc
+++ b/Elementarist.toc
@@ -1,8 +1,8 @@
-## Interface: 40100
+## Interface: 40200
 ## Title: Elementarist
 ## Notes: Elemental shaman spell rotation helper
 ## Author: Taracque, Felmosórongy of Arathor
-## Version: 2.0.3
+## Version: 2.0.4
 ## SavedVariables: ElementaristDB
 ## OptionalDeps: OmniCC, SpellFlash
 ## Dependencies: