- Fixed an issue when freeze text where getting out of instance space.
- Fixed an issue when resizing freeze text where not resizing too. - Added an extra parameter for Image Editor. - Added Archeology and Class Character Images for Instance backgrounds. - Fixen an issue when calling image editor throgh options panel where calling wrong instance.
This commit is contained in:
@@ -204,10 +204,13 @@ end
|
||||
|
||||
function combate:GetCombatTime()
|
||||
if (self.end_time) then
|
||||
--print ("tem end time")
|
||||
return self.end_time - self.start_time
|
||||
elseif (self.start_time and _detalhes.in_combat) then
|
||||
--print ("tem start time e esta em combate")
|
||||
return _tempo - self.start_time
|
||||
else
|
||||
--print ("retornando zero")
|
||||
return 0
|
||||
end
|
||||
end
|
||||
|
||||
@@ -925,8 +925,12 @@ function _detalhes:Freeze (instancia)
|
||||
gump:Fade (instancia, "in", nil, "barras")
|
||||
end
|
||||
|
||||
instancia.freeze_texto:Show()
|
||||
instancia.freeze_icon:Show()
|
||||
instancia.freeze_texto:Show()
|
||||
|
||||
local width = instancia:GetSize()
|
||||
instancia.freeze_texto:SetWidth (width-64)
|
||||
|
||||
instancia.freezed = true
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user