- Left button on a enemy bar now show enemy damage taken, middle button open player detail window for that enemy.

- Added new profile: Minimalistic v2.
- Minimalistic v2 is now the default skin.
- Graphical changes on icon packs with transparency.
- Removed slash command '/d', added '/de' instead.
- Added custom spells for Atonement Critical, Power Word: Solace Critical, Lifebloom (the blood effect).
- Revision done on Welcome Screen, many things removed, other added.

- New API: instance:GetNumRows() return how many bars fit within the instance height.
- New API: instance:GetRow (number) return the bar object.
- New API: actorcontainer:ListActors() return a ipairs list of characters objects inside the container.
- New API: _detalhes:CreateTestBars() create 10 bars of random characters for damage and heal.
- New API: _detalhes:StartTestBarUpdate() begin to add and subtract value from created test actors.
- New API: _detalhes:StopTestBarUpdate() stop the bar update test.

- New Event: DETAILS_INSTANCE_NEWROW triggers when a new row is created. Signature: [1] instance [2] bar object.
This commit is contained in:
tercio
2014-08-20 18:02:20 -03:00
parent 9a1e342ea3
commit f97b9fbe42
18 changed files with 513 additions and 369 deletions
+19 -8
View File
@@ -285,11 +285,6 @@ function _G._detalhes:Start()
_detalhes:FillUserCustomSpells()
end
--> start tutorial if this is first run
if (self.tutorial.logons < 2 and self.is_first_run) then
self:StartTutorial()
end
--> send feedback panel if the user got 100 or more logons with details
if (self.tutorial.logons > 100) then -- and self.tutorial.logons < 104
if (not self.tutorial.feedback_window1) then
@@ -325,13 +320,13 @@ function _G._detalhes:Start()
instance:RestauraJanela()
local skin = instance.skin
instance:ChangeSkin ("Default Skin")
instance:ChangeSkin ("Minimalistic")
instance:ChangeSkin ("Minimalistic v2")
instance:ChangeSkin (skin)
instance:DesativarInstancia()
else
local skin = instance.skin
instance:ChangeSkin ("Default Skin")
instance:ChangeSkin ("Minimalistic")
instance:ChangeSkin ("Minimalistic v2")
instance:ChangeSkin (skin)
end
end
@@ -432,6 +427,22 @@ function _G._detalhes:Start()
if (self.is_first_run) then
_detalhes:OpenWelcomeWindow()
end
--test realtime dps
--[[
local real_time_frame = CreateFrame ("frame", nil, UIParent)
local instance = _detalhes:GetInstance (1)
real_time_frame:SetScript ("OnUpdate", function (self, elapsed)
if (_detalhes.in_combat and instance.atributo == 1 and instance.sub_atributo == 1) then
for i = 1, instance:GetNumRows() do
local row = instance:GetRow (index)
if (row:IsShown()) then
local actor = row.minha_tabela
local right_text = row.texto_direita
end
end
end
end)
--]]
end