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
|
end
|
||||||
|
|
||||||
local found = false
|
local found = false
|
||||||
|
local _, v
|
||||||
for _, v in ipairs(data) do
|
for _, v in ipairs(data) do
|
||||||
if BLACKLISTED_UNIT_MENU_OPTIONS[v] then
|
if BLACKLISTED_UNIT_MENU_OPTIONS[v] then
|
||||||
found = true
|
found = true
|
||||||
|
@ -334,6 +334,7 @@ function SliceAndDice.prototype:GetMaxBuffTime(numComboPoints)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local rank = 0
|
local rank = 0
|
||||||
|
local _
|
||||||
if IceHUD.WowVer < 50000 then
|
if IceHUD.WowVer < 50000 then
|
||||||
_, _, _, _, rank = GetTalentInfo(impSndTalentPage, impSndTalentIdx)
|
_, _, _, _, rank = GetTalentInfo(impSndTalentPage, impSndTalentIdx)
|
||||||
end
|
end
|
||||||
@ -383,6 +384,7 @@ end
|
|||||||
|
|
||||||
function SliceAndDice.prototype:GetItemIdFromItemLink(linkStr)
|
function SliceAndDice.prototype:GetItemIdFromItemLink(linkStr)
|
||||||
local itemId
|
local itemId
|
||||||
|
local _
|
||||||
|
|
||||||
if linkStr then
|
if linkStr then
|
||||||
_, itemId, _, _, _, _, _, _, _ = strsplit(":", linkStr)
|
_, itemId, _, _, _, _, _, _, _ = strsplit(":", linkStr)
|
||||||
|
@ -241,12 +241,7 @@ function IceThreat.prototype:Update(unit)
|
|||||||
unit = self.unit
|
unit = self.unit
|
||||||
end
|
end
|
||||||
|
|
||||||
local isInGroup = false
|
local isInGroup = GetNumPartyMembers() > 0
|
||||||
if IceHUD.WowVer >= 50000 then
|
|
||||||
isInGroup = GetNumGroupMembers() > 0
|
|
||||||
else
|
|
||||||
isInGroup = GetNumPartyMembers() > 0
|
|
||||||
end
|
|
||||||
if self.moduleSettings.onlyShowInGroups and (not isInGroup and not UnitExists("pet")) then
|
if self.moduleSettings.onlyShowInGroups and (not isInGroup and not UnitExists("pet")) then
|
||||||
self:Show(false)
|
self:Show(false)
|
||||||
return
|
return
|
||||||
@ -265,6 +260,7 @@ function IceThreat.prototype:Update(unit)
|
|||||||
local secondHighestThreat = 0
|
local secondHighestThreat = 0
|
||||||
local rangeMulti = 1.1
|
local rangeMulti = 1.1
|
||||||
local scaledPercentZeroToOne
|
local scaledPercentZeroToOne
|
||||||
|
local _
|
||||||
--[[
|
--[[
|
||||||
threatState = 1
|
threatState = 1
|
||||||
scaledPercent = 1
|
scaledPercent = 1
|
||||||
|
Reference in New Issue
Block a user