Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Avant
- -- power
- local power = CreateFrame('StatusBar', nil, self)
- power:Height(5)
- if unit == "player" then
- power:Point("TOPLEFT", health, "BOTTOMLEFT", 105, 1)
- power:Point("TOPRIGHT", health, "BOTTOMRIGHT", -9, -2)
- elseif unit == "target" then
- power:Point("TOPLEFT", health, "BOTTOMLEFT", 9, 1)
- power:Point("TOPRIGHT", health, "BOTTOMRIGHT", -105, -2)
- end
- power:SetStatusBarTexture(normTex)
- power:SetFrameLevel(self.Health:GetFrameLevel() + 2)
- Après
- -- power
- local power = CreateFrame('StatusBar', nil, self)
- power:Height(10)
- if unit == "player" then
- power:Point("TOPLEFT", health, "BOTTOMLEFT", 0, 1)
- power:Point("TOPRIGHT", health, "BOTTOMRIGHT", 0, -2)
- elseif unit == "target" then
- power:Point("TOPLEFT", health, "BOTTOMLEFT", 0, 1)
- power:Point("TOPRIGHT", health, "BOTTOMRIGHT", 0, -2)
- end
- power:SetStatusBarTexture(normTex)
- power:SetFrameLevel(self.Health:GetFrameLevel() + 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement