oUF_ScriptableText

0 Downloads
        local fs = self.Health:CreateFontString()
        fs:SetFontObject(GameTooltipTextSmall)
        fs:SetPoint("BOTTOM", self.Health, "TOP", 0, 15)
        fs.value = "return Power(unit)"
        fs.speed = 100
        fs.update = 100
        fs.repeating = true
        fs.align = oUF.ALIGN_PINGPONG
        fs.cols = 20
        -- You provide as many fontstrings as you want. Widgets will be created per each.
        self.ScriptableText = {fs}