changeset 33:c0271922346e

- small fixes, frame strata is now on lower strata.
author Tercio
date Mon, 14 Mar 2016 13:49:25 -0300
parents 8368036a4abf
children cbcab210624f
files Hansgar_And_Franzok_Assist.lua
diffstat 1 files changed, 4 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/Hansgar_And_Franzok_Assist.lua	Thu Feb 25 08:53:07 2016 -0300
+++ b/Hansgar_And_Franzok_Assist.lua	Mon Mar 14 13:49:25 2016 -0300
@@ -18,8 +18,8 @@
 
 --local f = CreateFrame ("frame", "Hansgar_And_Franzok_Assist", UIParent)
 local f = DF:Create1PxPanel (_, 155, 166, "Hans & Franz Assist", "Hansgar_And_Franzok_Assist", nil, "top", true)
-f:SetFrameStrata ("DIALOG")
-f.version = "v0.16e"
+f:SetFrameStrata ("LOW")
+f.version = "v0.17"
 
 f.Close:SetScript ("OnClick", function (self)
 	if (f.StampersPhase) then
@@ -58,11 +58,6 @@
 f.all_blocks = {}
 f:Hide()
 
---local title = f:CreateFontString (nil, "overlay", "GameFontNormal")
---title:SetText ("Hansgar & Franzok Assist")
---title:SetPoint ("center", f, "center")
---title:SetPoint ("bottom", f, "top", 0, 2)
-
 --
 local frame_event = CreateFrame ("frame", "Hansgar_And_Franzok_AssistEvents", f)
 frame_event:RegisterEvent ("ENCOUNTER_START")
@@ -72,9 +67,6 @@
 --
 local player_bar = CreateFrame ("statusbar", "Hansgar_And_Franzok_PlayerAssistBar", UIParent)
 
---player_bar:SetPoint ("topleft", f, "bottomleft", 0, -3)
---player_bar:SetPoint ("topright", f, "bottomright", 0, -3)
-
 player_bar:SetPoint ("center", UIParent, "center", 0, 300)
 player_bar:SetSize (280, 16)
 
@@ -319,7 +311,7 @@
 frame_event:SetScript ("OnEvent", function (self, event, ...)
 
 	if (event == "ADDON_LOADED" and select (1, ...) == "Hansgar_And_Franzok_Assist") then
---/dump Hansgar_And_Franzok_DB.STAMPERS_DELAY
+
 		db = Hansgar_And_Franzok_DB
 		if (not db) then
 			db = {}
@@ -831,7 +823,7 @@
 text:SetPoint ("center", stop_casting_frame, "center")
 
 stop_casting_frame:SetBackdrop ({bgFile = "Interface\\Tooltips\\UI-Tooltip-Background", tile = true, tileSize = 16})
-stop_casting_frame:SetBackdropColor (0, 0, 0, 0.3)
+stop_casting_frame:SetBackdropColor (0, 0, 0, 0.5)
 
 function f:HideStopSpellAlert2()
 	stop_casting_frame.alert.animOut:Stop()
@@ -843,8 +835,6 @@
 	f:ScheduleTimer ("HideStopSpellAlert2", 0.3)
 end
 
---3/22 13:44:48.995  SPELL_INTERRUPT,Vehicle-0-3132-1205-24243-76974-00000EF077,"Franzok",0x10a48,0x0,Player-00-063,"Grubdruid",0x514,0x0,160838,"Disrupting Roar",0x1,5185,"Healing Touch",8
-
 f:SetScript ("OnEvent", function (self, event, time, token, _, who_serial, who_name, who_flags, _, target_serial, target_name, target_flags, _, spellid, spellname, spellschool, buff_type, buff_name)
 
 	if (token == "SPELL_AURA_APPLIED" and spellid == 162124 and not f.StampersPhase) then
@@ -869,10 +859,6 @@
 		local link = GetSpellLink (buff_type)
 		print ("Stop Cast Fail:", target_name, link)
 	end
-	
-	--if (spellid == 160838) then
-	--	print ("event:", token, 160838, db.STOP_CAST)
-	--end
 
 end)
 --	/run Hansgar_And_Franzok_AssistStopCastingAlert.animIn:Play()