mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- added an oft-requested option to treat friendly targets the same as not having a target at all for alpha purposes. this allows people who want the HUD to be hidden when they don't have a target to stay hidden when they target a friendly, for example
This commit is contained in:
@ -331,6 +331,21 @@ This isn't |cff9999ffIceHUD|r - it's Blizzard's new Spell Alerts they added in 4
|
||||
end,
|
||||
order = 32,
|
||||
},
|
||||
|
||||
bTreatFriendlyAsTarget = {
|
||||
type = 'toggle',
|
||||
name = L["Use 'Target' alpha for friendlies"],
|
||||
desc = L["If this is disabled, then targeting a friendly will use the 'Alpha out of combat' setting instead of 'Alpha OOC and Target'."],
|
||||
width = 'double',
|
||||
get = function()
|
||||
return IceHUD.IceCore.settings.bTreatFriendlyAsTarget
|
||||
end,
|
||||
set = function(info, value)
|
||||
IceHUD.IceCore.settings.bTreatFriendlyAsTarget = value
|
||||
IceHUD.IceCore:Redraw()
|
||||
end,
|
||||
order = 32
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user