fix random capitalization
This commit is contained in:
@@ -1535,7 +1535,7 @@ function _detalhes:CatchRaidBuffUptime(sOperationType)
|
||||
end
|
||||
|
||||
for buffIndex = 1, 41 do
|
||||
local name, _, _, _, _, _, _, unitCaster, _, _, spellid = UnitAura(unitId, buffIndex, "HELPFUL")
|
||||
local name, _, _, _, _, _, _, unitCaster, _, _, spellId = UnitAura(unitId, buffIndex, "HELPFUL")
|
||||
if (name and unitCaster and UnitExists(unitCaster) and UnitExists(unitId) and UnitIsUnit(unitCaster, unitId)) then
|
||||
_detalhes.parser:add_buff_uptime(nil, cacheGetTime, playerGUID, playerName, 0x00000514, playerGUID, playerName, 0x00000514, 0x0, spellId, name, sOperationType)
|
||||
|
||||
@@ -1579,7 +1579,7 @@ function _detalhes:CatchRaidBuffUptime(sOperationType)
|
||||
local unitId = "party" .. groupIndex
|
||||
for buffIndex = 1, 41 do
|
||||
if (UnitExists(unitId)) then
|
||||
local name, _, _, _, _, _, _, unitCaster, _, _, spellid = UnitAura(unitId, buffIndex, 'HELPFUL')
|
||||
local name, _, _, _, _, _, _, unitCaster, _, _, spellId = UnitAura(unitId, buffIndex, 'HELPFUL')
|
||||
if (auraName) then
|
||||
if (UnitExists(unitCaster)) then
|
||||
local bBuffIsPlacedOnTarget = Details.CreditBuffToTarget[spellId]
|
||||
@@ -1622,7 +1622,7 @@ function _detalhes:CatchRaidBuffUptime(sOperationType)
|
||||
--player it self (while in a party that isn't a raid group)
|
||||
local unitId = "player"
|
||||
for buffIndex = 1, 41 do
|
||||
local auraName, _, _, _, _, _, _, unitCaster, _, _, spellid = UnitAura(unitId, buffIndex, 'HELPFUL')
|
||||
local auraName, _, _, _, _, _, _, unitCaster, _, _, spellId = UnitAura(unitId, buffIndex, 'HELPFUL')
|
||||
if (auraName) then
|
||||
if (UnitExists(unitCaster)) then -- and unitCaster and UnitExists(unitCaster) and UnitIsUnit(unitCaster, unitId)
|
||||
local bBuffIsPlacedOnTarget = Details.CreditBuffToTarget[spellId]
|
||||
|
||||
Reference in New Issue
Block a user