-
-
Save kurapica/80304fd7284c3ef7235e20bf3099e4ae to your computer and use it in GitHub Desktop.
Scorpio "AshToAshSkin" "" | |
pcall(Style.RegisterSkin, "5MSkin") | |
DEFAULT_COLOR = Color("|c222222ff") | |
LOW_HEALTH_COLOR = Color.WHITE | |
HEALTHBAR = (Scorpio.IsRetail or Scorpio.IsBCC or IsAddOnLoaded("LibHealComm-4.0") or pcall(_G.LibStub, "LibHealComm-4.0")) and "PredictionHealthBar" or "HealthBar" | |
Style.UpdateSkin("5MSkin", { | |
[AshToAsh.AshUnitFrame] = { | |
inherit = "default", -- inherit the default skin | |
[HEALTHBAR]= { | |
location = { Anchor("TOPLEFT"), Anchor("BOTTOMRIGHT", - 1, 0, "PowerBar", "BOTTOMLEFT")}, | |
Orientation = "VERTICAL", | |
statusBarColor = Wow.FromUnitEvent("UNIT_HEALTH", "UNIT_MAXHEALTH"):Next():Map(function(unit) | |
return( UnitHealth(unit) * 100 / UnitHealthMax(unit) ) > 40 and DEFAULT_COLOR or LOW_HEALTH_COLOR | |
end), | |
backgroundFrame = { | |
backgroundTexture = { | |
Color = Color.BLACK | |
}, | |
}, | |
}, | |
PowerBar = { | |
Orientation = "VERTICAL", | |
location = { Anchor("TOPRIGHT"), Anchor("BOTTOMRIGHT") }, | |
width = 4, | |
}, | |
} | |
}) | |
Style.ActiveSkin("5MSkin") |
Have an issue running this "skin". Name doesn't get centered in box, no resize(I guess it's 45*50). Textures seems wrong too, am I missing something?
If you are use it in the classic version, I just upload a new version, since the UnitIncomingHeal is added in the classic, there health bar is changed from normal health bar to a health bar with prediction.
Also for now, there is full skin mod for ATA: https://www.curseforge.com/wow/addons/ashtoash_blizzardskin
I am using the TBC Classic version. The Blizzard Skin works without any issues, but was trying to copy the style as in the picture from the AddonPage, guess I will stick to Blizzframes for now.
You can join my channel https://discord.gg/6hD4sdUtgp, those details is hard to be discussed here
Have an issue running this "skin". Name doesn't get centered in box, no resize(I guess it's 45*50). Textures seems wrong too, am I missing something?