- Added Rallying Cry on warrior cooldown list.
- Healthstone now is considered both healing and cooldown attributes. - Fixed the sort method for custom displays, now the bars wuth same value is correctly sort by alphabetical. - Fixed non-combat switch by role where changing role wasn't changing the attribute. - Fixed the icons hiding and showing with Alpha Modify Types. - NickTag now don't check if a received name is invalid.
This commit is contained in:
+1
-1
@@ -331,7 +331,7 @@
|
||||
for index, instancia in ipairs (_detalhes.tabela_instancias) do
|
||||
if (instancia.ativa) then
|
||||
--instancia:SetCombatAlpha (nil, nil, true) --passado para o regen disable
|
||||
instancia:CheckSwitchOnCombatStart()
|
||||
instancia:CheckSwitchOnCombatStart (true)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -2730,6 +2730,20 @@
|
||||
end
|
||||
end
|
||||
|
||||
function _detalhes.parser_functions:ROLE_CHANGED_INFORM (...)
|
||||
if (_detalhes.last_assigned_role ~= _UnitGroupRolesAssigned ("player")) then
|
||||
_detalhes:CheckSwitchOnLogon (true)
|
||||
_detalhes.last_assigned_role = _UnitGroupRolesAssigned ("player")
|
||||
end
|
||||
end
|
||||
|
||||
function _detalhes.parser_functions:PLAYER_ROLES_ASSIGNED (...)
|
||||
if (_detalhes.last_assigned_role ~= _UnitGroupRolesAssigned ("player")) then
|
||||
_detalhes:CheckSwitchOnLogon (true)
|
||||
_detalhes.last_assigned_role = _UnitGroupRolesAssigned ("player")
|
||||
end
|
||||
end
|
||||
|
||||
function _detalhes.parser_functions:GROUP_ROSTER_UPDATE (...)
|
||||
if (not _detalhes.in_group) then
|
||||
_detalhes.in_group = IsInGroup() or IsInRaid()
|
||||
|
||||
+9
-1
@@ -41,9 +41,17 @@
|
||||
|
||||
--> get the fractional number representing the alphabetical letter
|
||||
function _detalhes:GetAlphabeticalOrderNumber (who_name)
|
||||
--local name = _upper (who_name)
|
||||
--local byte = _string_byte (name)
|
||||
--local abs = _math_abs (byte-91)
|
||||
--local n = math.floor (abs)/1000000
|
||||
--print (name, byte, abs, n)
|
||||
--return n
|
||||
return _math_abs (_string_byte (_upper (who_name))-91)/1000000
|
||||
end
|
||||
|
||||
|
||||
--/script print (tonumber (4/1000000)) - 4e-006
|
||||
--0.000004
|
||||
--> set all table keys to lower
|
||||
local temptable = {}
|
||||
function _detalhes:LowerizeKeys (_table)
|
||||
|
||||
Reference in New Issue
Block a user