Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CastingBarFrame.Border:Hide()
- CastingBarFrame.Text:Hide()
- CastingBarFrame:HookScript("OnShow",function(self)
- self:SetSize(200,25)
- self.Icon:Show()
- self.Icon:SetSize(25,25)
- end)
- CastingBarFrame.Flash.Show=function() return end
- TargetFrameSpellBar.Border:Hide()
- TargetFrameSpellBar.Text:Hide()
- TargetFrameSpellBar:HookScript("OnShow",function(self)
- self:SetSize(160,16)
- self.Icon:Show()
- self.Icon:SetSize(16,16)
- self.BorderShield:SetSize(210,50)
- self.BorderShield:ClearAllPoints()
- self.BorderShield:SetPoint("CENTER", TargetFrameSpellBar, "CENTER", -5, 0)
- end)
- TargetFrameSpellBar.Flash.Show=function() return end
- FocusFrameSpellBar.Border:Hide()
- FocusFrameSpellBar.Text:Hide()
- FocusFrameSpellBar:HookScript("OnShow",function(self)
- self:SetSize(160,16)
- self.Icon:Show()
- self.Icon:SetSize(16,16)
- self.BorderShield:SetSize(210,50)
- self.BorderShield:ClearAllPoints()
- self.BorderShield:SetPoint("CENTER", FocusFrameSpellBar, "CENTER", -5, 0)
- end)
- FocusFrameSpellBar.Flash.Show=function() return end
- CastingBarFrame.timer = CastingBarFrame:CreateFontString(nil)
- CastingBarFrame.timer:SetFont(STANDARD_TEXT_FONT,14,"OUTLINE")
- CastingBarFrame.timer:SetPoint("Center", CastingBarFrame, "Center")
- CastingBarFrame:HookScript("OnUpdate",function(self)
- self.timer:SetText(format("%.3f/%.3f", max(self.value, 0), self.maxValue))
- end)
- TargetFrameSpellBar.timer = TargetFrameSpellBar:CreateFontString(nil)
- TargetFrameSpellBar.timer:SetFont(STANDARD_TEXT_FONT,14,"OUTLINE")
- TargetFrameSpellBar.timer:SetPoint("Center", TargetFrameSpellBar, "Center")
- TargetFrameSpellBar:HookScript("OnUpdate",function(self)
- self.timer:SetText(format("%.3f/%.3f", max(self.value, 0), self.maxValue))
- end)
- FocusFrameSpellBar.timer = FocusFrameSpellBar:CreateFontString(nil)
- FocusFrameSpellBar.timer:SetFont(STANDARD_TEXT_FONT,14,"OUTLINE")
- FocusFrameSpellBar.timer:SetPoint("Center", FocusFrameSpellBar, "Center")
- FocusFrameSpellBar:HookScript("OnUpdate",function(self)
- self.timer:SetText(format("%.3f/%.3f", max(self.value, 0), self.maxValue))
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement