Advertisement
Guest User

Untitled

a guest
Jan 7th, 2011
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. local f = CreateFrame("Frame")
  2. f:SetScript("OnUpdate", function(self, e)
  3. local Mana = UnitMana("target")
  4. local ManaMax = UnitManaMax("target")
  5. PlayerFrameManaBar.TextString:SetText(TextStatusBar_CapDisplayOfNumericValue(Mana) .."/".. TextStatusBar_CapDisplayOfNumericValue(ManaMax))
  6. end)
  7.  
  8. local f = CreateFrame("Frame")
  9. f:SetScript("OnUpdate", function(self, e)
  10. local Mana = UnitMana("target")
  11. local ManaMax = UnitManaMax("target")
  12. TargetFrameManaBar.TextString:SetText(TextStatusBar_CapDisplayOfNumericValue(Mana) .."/".. TextStatusBar_CapDisplayOfNumericValue(ManaMax))
  13. end)
  14.  
  15. local f = CreateFrame("Frame")
  16. f:SetScript("OnUpdate", function(self, e)
  17. local Mana = UnitMana("target")
  18. local ManaMax = UnitManaMax("target")
  19. FocusFrameManaBar.TextString:SetText(TextStatusBar_CapDisplayOfNumericValue(Mana) .."/".. TextStatusBar_CapDisplayOfNumericValue(ManaMax))
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement