mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- made custom bars and counters not be case-sensitive in their spells-to-be-tracked
This commit is contained in:
@ -818,7 +818,7 @@ function IceHUD:GetAuraCount(auraType, unit, ability, onlyMine, matchByName)
|
||||
break
|
||||
end
|
||||
|
||||
if (not matchByName and string.match(texture, ability)) or (matchByName and string.match(name, ability)) then
|
||||
if (not matchByName and string.match(texture:upper(), ability:upper())) or (matchByName and string.match(name:upper(), ability:upper())) then
|
||||
return applications
|
||||
end
|
||||
end
|
||||
|
@ -276,7 +276,7 @@ function IceCustomBar.prototype:GetAuraDuration(unitName, buffName)
|
||||
local isMine = unitCaster == "player"
|
||||
|
||||
while buff do
|
||||
if (buff == buffName and (not self.moduleSettings.trackOnlyMine or isMine)) then
|
||||
if (buff:upper() == buffName:upper() and (not self.moduleSettings.trackOnlyMine or isMine)) then
|
||||
if endTime and not remaining then
|
||||
remaining = endTime - GetTime()
|
||||
end
|
||||
|
Reference in New Issue
Block a user