-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add dispel announce to Duffed Addon (move frame with /ddispel) - Added config entrys: --> dispelannouncement (well .. u know what its for! btw turned off by default) --> fading for the chat --> Enable Addonskins ..config entry for every single skin - place Addonbackground to ChatFrameX if rightchatborder is enabled (like the ChatFrameX ..yeah ..:>) - fix target debuffs position - fix AuraTracker below portrait for larger focus frame - Add portrait to bossframes and enlarge buffs (portrait size ..will overlap (hope u'll like it)) - btw /testui buffs crashes ur game :>
- Loading branch information
Duffed
committed
Feb 25, 2011
1 parent
e9109e8
commit 72ec0b0
Showing
15 changed files
with
119 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
if dStuff.dispelannouncement ~= true then return end | ||
|
||
-- Create movable frame for dispel announcements | ||
local f = CreateFrame("MessageFrame", "dDispelFrame", UIParent) | ||
f:SetPoint("TOP", 0, -220) | ||
f:SetSize(200, 100) | ||
f:SetFont(dStuff.font, 14) | ||
f:SetShadowOffset(1, -1) | ||
f:SetShadowColor(0,0,0) | ||
f:SetTimeVisible(2) | ||
f:SetBackdrop({bgFile = "Interface\\ChatFrame\\ChatFrameBackground"}) | ||
f:SetBackdropColor(0,0,0,0) | ||
f:SetMovable(true) | ||
f:SetFrameStrata("HIGH") | ||
f:SetInsertMode("TOP") | ||
f:SetJustifyH(dStuff.dispelannouncement_justify) | ||
f:SetClampedToScreen(true) | ||
f:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED") | ||
|
||
f:SetScript("OnEvent", function(self, event, ...) | ||
local timestamp, type, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags = ... | ||
if (type == "SPELL_DISPEL" or type == "SPELL_STOLEN") and sourceName == UnitName("player") then | ||
f:AddMessage("- |cffce3a19"..select(13, ...), 1, 1, 1) | ||
end | ||
end) | ||
|
||
-- slash command | ||
local move = false | ||
SLASH_DUFFEDDISPELLYEAH1 = "/ddispel" | ||
SlashCmdList.DUFFEDDISPELLYEAH = function() | ||
if not move then | ||
move = true | ||
f:AddMessage("- |cffce3a19around!", 1, 1, 1) | ||
f:AddMessage("- |cffce3a19Dispelframe", 1, 1, 1) | ||
f:AddMessage("- |cffce3a19Move", 1, 1, 1) | ||
f:SetTimeVisible(999) | ||
f:EnableMouse(true) | ||
f:SetScript("OnMouseDown", function() f:StartMoving() end) | ||
f:SetScript("OnMouseUp", function() f:StopMovingOrSizing() end) | ||
f:SetBackdropColor(0.1, 0.1, 0.1, 0.6) | ||
print("|cffce3a19dStuff|r - Frame unlocked.") | ||
else | ||
f:SetTimeVisible(2) | ||
move = false | ||
f:EnableMouse(false) | ||
f:SetBackdropColor(0,0,0,0) | ||
print("|cffce3a19dStuff|r - Frame locked.") | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters