mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- Fixed a few more instances of using non-local vars named _
This commit is contained in:
@ -625,6 +625,7 @@ local function munge_unit_menu(menu)
|
||||
end
|
||||
|
||||
local found = false
|
||||
local _, v
|
||||
for _, v in ipairs(data) do
|
||||
if BLACKLISTED_UNIT_MENU_OPTIONS[v] then
|
||||
found = true
|
||||
|
@ -334,6 +334,7 @@ function SliceAndDice.prototype:GetMaxBuffTime(numComboPoints)
|
||||
end
|
||||
|
||||
local rank = 0
|
||||
local _
|
||||
if IceHUD.WowVer < 50000 then
|
||||
_, _, _, _, rank = GetTalentInfo(impSndTalentPage, impSndTalentIdx)
|
||||
end
|
||||
@ -383,6 +384,7 @@ end
|
||||
|
||||
function SliceAndDice.prototype:GetItemIdFromItemLink(linkStr)
|
||||
local itemId
|
||||
local _
|
||||
|
||||
if linkStr then
|
||||
_, itemId, _, _, _, _, _, _, _ = strsplit(":", linkStr)
|
||||
|
@ -241,12 +241,7 @@ function IceThreat.prototype:Update(unit)
|
||||
unit = self.unit
|
||||
end
|
||||
|
||||
local isInGroup = false
|
||||
if IceHUD.WowVer >= 50000 then
|
||||
isInGroup = GetNumGroupMembers() > 0
|
||||
else
|
||||
isInGroup = GetNumPartyMembers() > 0
|
||||
end
|
||||
local isInGroup = GetNumPartyMembers() > 0
|
||||
if self.moduleSettings.onlyShowInGroups and (not isInGroup and not UnitExists("pet")) then
|
||||
self:Show(false)
|
||||
return
|
||||
@ -265,6 +260,7 @@ function IceThreat.prototype:Update(unit)
|
||||
local secondHighestThreat = 0
|
||||
local rangeMulti = 1.1
|
||||
local scaledPercentZeroToOne
|
||||
local _
|
||||
--[[
|
||||
threatState = 1
|
||||
scaledPercent = 1
|
||||
|
Reference in New Issue
Block a user