Show friendly unit's debuffs
Adrian L Lange [10-04-11 - 00:05]
Show friendly unit's debuffs
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index 8162b30..dbe2c4e 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -134,8 +134,8 @@ do
}
function FilterTargetDebuffs(...)
- local _, _, _, _, _, _, _, _, _, _, owner, _, _, id = ...
- return owner == 'player' or spells[id]
+ local _, unit, _, _, _, _, _, _, _, _, owner, _, _, id = ...
+ return owner == 'player' or UnitIsFriend('player', unit) or spells[id]
end
end