- Applyed the experimental alphabetical sort method on Damage and Heal classes.
- Spell icon is shown when the character is a environment spell type. - Changed the non-player enemy icon (monsters). - Fixed bug on flex performance profile.
This commit is contained in:
@@ -488,7 +488,13 @@
|
||||
|
||||
if (_detalhes.tabela_vigente.instance_type == "raid") then
|
||||
--> schedule captures off
|
||||
|
||||
_detalhes:CaptureSet (false, "damage", false, 15)
|
||||
_detalhes:CaptureSet (false, "energy", false, 15)
|
||||
_detalhes:CaptureSet (false, "aura", false, 15)
|
||||
_detalhes:CaptureSet (false, "energy", false, 15)
|
||||
_detalhes:CaptureSet (false, "spellcast", false, 15)
|
||||
|
||||
if (_detalhes.debug) then
|
||||
_detalhes:Msg ("(debug) freezing parser for 15 seconds.")
|
||||
end
|
||||
|
||||
+1
-1
@@ -121,7 +121,7 @@ function _detalhes:GetPerformanceRaidType()
|
||||
|
||||
--flex
|
||||
if (difficulty == 14) then
|
||||
if (GetNumGroupMembers > 15) then
|
||||
if (GetNumGroupMembers() > 15) then
|
||||
return "Raid30"
|
||||
else
|
||||
return "Raid15"
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
local _math_ceil = math.ceil --lua local
|
||||
local _table_wipe = table.wipe --lua local
|
||||
|
||||
local _GetSpellInfo = _detalhes.getspellinfo --details api
|
||||
local escudo = _detalhes.escudos --details local
|
||||
local parser = _detalhes.parser --details local
|
||||
local absorb_spell_list = _detalhes.AbsorbSpells --details local
|
||||
@@ -189,6 +190,12 @@
|
||||
else
|
||||
if (who_flags) then --> ter certeza que não é um pet
|
||||
damage_cache [who_name] = este_jogador
|
||||
--> se for spell actor
|
||||
if (who_name:find ("[*]")) then
|
||||
local _, _, icon = _GetSpellInfo (spellid or 1)
|
||||
este_jogador.spellicon = icon
|
||||
--print ("spell actor:", who_name, "icon:", icon)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
+4
-3
@@ -15,13 +15,14 @@
|
||||
local _upper = string.upper --lua local
|
||||
local _ipairs = ipairs --lua local
|
||||
local _pairs = pairs --lua local
|
||||
local _string_format = string.format --lua local
|
||||
local _math_floor = math.floor --lua local
|
||||
local _math_max = math.max --lua local
|
||||
local _math_abs = math.abs --lua local
|
||||
local _type = type --lua local
|
||||
local _string_match = string.match --lua local
|
||||
local _string_byte = string.byte
|
||||
local _string_byte = string.byte --lua local
|
||||
local _string_len = string.lenv
|
||||
local _string_format = string.format --lua local
|
||||
local loadstring = loadstring --lua local
|
||||
|
||||
local _UnitClass = UnitClass --wow api local
|
||||
@@ -41,7 +42,7 @@
|
||||
|
||||
--> get the fractional number representing the alphabetical letter
|
||||
function _detalhes:GetAlphabeticalOrderNumber (who_name)
|
||||
local name = _upper (who_name)
|
||||
local name = _upper (who_name .. "zz")
|
||||
local byte1 = _math_abs (_string_byte (name, 2)-91)/1000000
|
||||
return byte1 + _math_abs (_string_byte (name, 1)-91)/10000
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user