- 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:
@@ -1847,8 +1847,10 @@ function atributo_damage:ToolTip_DamageDone (instancia, numero, barra, keydown)
|
||||
--> enemies
|
||||
if (instancia.sub_atributo == 6) then
|
||||
GameCooltip:AddLine (" ")
|
||||
GameCooltip:AddLine (Loc ["STRING_LEFTCLICK_DAMAGETAKEN"])
|
||||
--GameCooltip:AddIcon ([[Interface\TUTORIALFRAME\UI-TUTORIAL-FRAME]], 1, 1, 12, 16, 8/512, 70/512, 224/512, 306/512)
|
||||
GameCooltip:AddLine (Loc ["STRING_MIDDLECLICK_DAMAGETAKEN"])
|
||||
GameCooltip:AddIcon ([[Interface\TUTORIALFRAME\UI-TUTORIAL-FRAME]], 1, 1, 12, 16, 14/512, 64/512, 127/512, 204/512)
|
||||
--GameCooltip:AddIcon ([[Interface\TUTORIALFRAME\UI-TUTORIAL-FRAME]], 1, 1, 12, 16, 14/512, 64/512, 127/512, 204/512)
|
||||
end
|
||||
|
||||
return true
|
||||
@@ -1944,8 +1946,10 @@ function atributo_damage:ToolTip_DamageTaken (instancia, numero, barra, keydown)
|
||||
--> enemies
|
||||
if (instancia.sub_atributo == 6) then
|
||||
GameCooltip:AddLine (" ")
|
||||
GameCooltip:AddLine (Loc ["STRING_LEFTCLICK_DAMAGETAKEN"])
|
||||
--GameCooltip:AddIcon ([[Interface\TUTORIALFRAME\UI-TUTORIAL-FRAME]], 1, 1, 12, 16, 8/512, 70/512, 224/512, 306/512)
|
||||
GameCooltip:AddLine (Loc ["STRING_MIDDLECLICK_DAMAGETAKEN"])
|
||||
GameCooltip:AddIcon ([[Interface\TUTORIALFRAME\UI-TUTORIAL-FRAME]], 1, 1, 12, 16, 14/512, 64/512, 127/512, 204/512)
|
||||
--GameCooltip:AddIcon ([[Interface\TUTORIALFRAME\UI-TUTORIAL-FRAME]], 1, 1, 10, 14, 14/512, 64/512, 127/512, 204/512)
|
||||
end
|
||||
|
||||
return true
|
||||
|
||||
@@ -228,6 +228,14 @@ function _detalhes:GetFreeInstancesAmount()
|
||||
return _detalhes.instances_amount - #_detalhes.tabela_instancias
|
||||
end
|
||||
|
||||
function _detalhes:GetNumRows()
|
||||
return self.rows_fit_in_window
|
||||
end
|
||||
|
||||
function _detalhes:GetRow (index)
|
||||
return self.barras [index]
|
||||
end
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
--> retorna se a instância esta ou não ativa
|
||||
@@ -1164,7 +1172,7 @@ end
|
||||
new_instance:ShowSideBars()
|
||||
|
||||
new_instance.skin = "no skin"
|
||||
new_instance:ChangeSkin ("Minimalistic")
|
||||
new_instance:ChangeSkin ("Minimalistic v2")
|
||||
|
||||
--> apply standard skin if have one saved
|
||||
--[[
|
||||
|
||||
@@ -44,7 +44,7 @@ end
|
||||
_detalhes.instance_defaults = {
|
||||
|
||||
--skin
|
||||
skin = "Minimalistic",
|
||||
skin = "Minimalistic v2",
|
||||
--baseframe backdrop
|
||||
bg_alpha = 0.7,
|
||||
bg_r = 0.0941,
|
||||
|
||||
@@ -87,6 +87,10 @@
|
||||
return total
|
||||
end
|
||||
|
||||
function container_combatentes:ListActors()
|
||||
return _ipairs (self._ActorTable)
|
||||
end
|
||||
|
||||
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
--> internals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user