- Added Spirit Link Totem damage and healing on death log.

- Added the total of life exchanged by the Spirit Link Totem on player detail window.
- Added more spells for crowd control.
- Added scroll on bookmark panel.
This commit is contained in:
Tercio
2015-03-26 15:09:21 -03:00
parent 0c126196d2
commit af0a447b0d
16 changed files with 689 additions and 235 deletions
@@ -1,5 +1,5 @@
DETAILS_STORAGE_VERSION = 3
DETAILS_STORAGE_VERSION = 4
function _detalhes:CreateStorageDB()
DetailsDataStorage = {
@@ -23,7 +23,7 @@ f:SetScript ("OnEvent", function (self, event, addonName)
if (DetailsDataStorage.VERSION < DETAILS_STORAGE_VERSION) then
--> do revisions
if (DetailsDataStorage.VERSION < 3) then
if (DetailsDataStorage.VERSION < 4) then
table.wipe (DetailsDataStorage)
DetailsDataStorage = _detalhes:CreateStorageDB()
end
@@ -262,6 +262,19 @@ local function CreatePluginFrames (data)
EncounterDetails.showing = true
--> [1] button to show [2] button animation: "star", "blink" or true (blink)
EncounterDetails:ShowToolbarIcon (EncounterDetails.ToolbarButton, "star")
--EncounterDetails:SetTutorialCVar ("ENCOUNTER_DETAILS_TUTORIAL1", false)
if (not EncounterDetails:GetTutorialCVar ("ENCOUNTER_DETAILS_TUTORIAL1")) then
EncounterDetails:SetTutorialCVar ("ENCOUNTER_DETAILS_TUTORIAL1", true)
local plugin_icon_alert = CreateFrame ("frame", "EncounterDetailsPopUp1", EncounterDetails.ToolbarButton, "DetailsHelpBoxTemplate")
plugin_icon_alert.ArrowUP:Show()
plugin_icon_alert.ArrowGlowUP:Show()
plugin_icon_alert.Text:SetText ("Encounter Details is Ready!\n\nTake a look in the encounter summary, click here!")
plugin_icon_alert:SetPoint ("bottom", EncounterDetails.ToolbarButton, "top", 0, 30)
plugin_icon_alert:Show()
end
end
--> hide icon on toolbar
@@ -286,6 +299,13 @@ local function CreatePluginFrames (data)
if (EncounterDetailsFrame.ShowType == "graph") then
EncounterDetails:BuildDpsGraphic()
end
--EncounterDetails:SetTutorialCVar ("ENCOUNTER_DETAILS_TUTORIAL2", false)
if (not EncounterDetails:GetTutorialCVar ("ENCOUNTER_DETAILS_TUTORIAL2")) then
EncounterDetails:SetTutorialCVar ("ENCOUNTER_DETAILS_TUTORIAL2", true)
EncounterDetails:ButtonsTutorial()
end
return true
end
@@ -1175,6 +1175,7 @@ do
end
end
-- ~button
--summary
BossFrame.buttonSwitchNormal = DetailsFrameWork:NewDetailsButton (BossFrame, BossFrame, _, BossFrame.switch, "main", nil, 26, 33)
BossFrame.buttonSwitchNormal:SetPoint ("bottomright", BossFrame, "bottomright", -270, 5)
@@ -1212,6 +1213,23 @@ do
aa:SetHeight (33)
aa:SetAllPoints()
--> tutorial frame
function EncounterDetails:ButtonsTutorial()
local tutorial_frame = CreateFrame ("frame", nil, BossFrame)
tutorial_frame:SetFrameStrata ("FULLSCREEN")
tutorial_frame:SetPoint ("topleft", t, "topleft")
tutorial_frame:SetPoint ("bottomright", aa, "bottomright")
local plugin_icon_alert = CreateFrame ("frame", "EncounterDetailsPopUp2", tutorial_frame, "DetailsHelpBoxTemplate")
plugin_icon_alert.ArrowUP:Show()
plugin_icon_alert.ArrowGlowUP:Show()
plugin_icon_alert.Text:SetText ("Select here, the module you want to see:")
plugin_icon_alert:SetPoint ("bottom", tutorial_frame, "top", 0, 30)
plugin_icon_alert:Show()
end
u = BossFrame.buttonSwitchGraphic:CreateTexture (nil, "overlay")
u:SetTexture ("Interface\\AddOns\\Details_EncounterDetails\\images\\boss_frame_buttons")
u:SetTexCoord (0.8984375, 1, 0, 0.515625)