mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- fixed display of buffs on the player not cast by the player for custom bars
This commit is contained in:
@ -226,7 +226,7 @@ function IceCustomBar.prototype:GetAuraDuration(unitName, buffName)
|
||||
local i = 1
|
||||
local remaining
|
||||
local isBuff = self.moduleSettings.buffOrDebuff == "buff" and true or false
|
||||
local buffFilter = (isBuff and "HELPFUL" or "HARMFUL") .. (unitName == "player" and "|PLAYER" or "")
|
||||
local buffFilter = (isBuff and "HELPFUL" or "HARMFUL") .. (self.moduleSettings.trackOnlyMine and "|PLAYER" or "")
|
||||
local buff, rank, texture, count, type, duration, endTime, unitCaster = UnitAura(unitName, i, buffFilter)
|
||||
local isMine = unitCaster == "player"
|
||||
|
||||
|
Reference in New Issue
Block a user