Initial commit
This commit is contained in:
commit
5ec09c0402
|
@ -0,0 +1,12 @@
|
||||||
|
## Interface: 80000
|
||||||
|
## Title: Gio |cff00ffffBigWigs|r
|
||||||
|
## Author: Gio
|
||||||
|
## Credit: Blazeflack, Elv, WA Discord
|
||||||
|
## Version: 1.0
|
||||||
|
## Notes: Cosas nasis del BigWigs
|
||||||
|
## RequiredDeps: BigWigs, BigWigs_Core, BigWigs_Plugins
|
||||||
|
## LoadOnDemand: 1
|
||||||
|
## LoadWith: BigWigs_Plugins
|
||||||
|
## X-eMail: xergio@gmail.com
|
||||||
|
|
||||||
|
main.lua
|
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
BigWigs: https://github.com/BigWigsMods/BigWigs
|
||||||
|
|
||||||
|
My Mod:
|
||||||
|
|
||||||
|
- Emphatized text color
|
||||||
|
- Duration text position
|
|
@ -0,0 +1,24 @@
|
||||||
|
|
||||||
|
local plugin = BigWigs:GetPlugin("Bars")
|
||||||
|
local db = plugin.db.profile
|
||||||
|
|
||||||
|
local function style(bar)
|
||||||
|
bar.candyBarLabel:SetJustifyH("LEFT")
|
||||||
|
bar.candyBarLabel:ClearAllPoints()
|
||||||
|
bar.candyBarLabel:Point("LEFT", bar, "LEFT", db.BigWigsAnchor_height + 4, 0)
|
||||||
|
|
||||||
|
bar.candyBarDuration:SetJustifyH("LEFT")
|
||||||
|
bar.candyBarDuration:ClearAllPoints()
|
||||||
|
bar.candyBarDuration:Point("RIGHT", bar, "LEFT", -2, 0)
|
||||||
|
|
||||||
|
if (bar.remaining < db.emphasizeTime) then
|
||||||
|
bar:SetTextColor(1, 0, 0)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
plugin:RegisterBarStyle("GioNoBars", {
|
||||||
|
apiVersion = 1,
|
||||||
|
version = 1,
|
||||||
|
ApplyStyle = style,
|
||||||
|
GetStyleName = function() return "Gio No Bars" end,
|
||||||
|
})
|
Loading…
Reference in New Issue