WoWInterface SVN TipTop

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 109 to Rev 108
    Reverse comparison

Rev 109 → Rev 108

trunk/TipTop/tiptop.lua
352,9 → 352,7
end
local hp = hp or UnitHealth("mouseover")
if db.textformat == "100/100" then
hp = tostring(hp)
maxhp = tostring(maxhp)
ttHealth:SetFormattedText("%s / %s", hp, maxhp)
ttHealth:SetFormattedText("%d / %d", hp, maxhp)
elseif db.textformat == "100%" then
per = (hp/maxhp) * 100
if per <= 100 then --gives maxhp of 1 sometimes when tooltip fades?
trunk/TipTop/TipTop.toc
2,7 → 2,7
## Title: TipTop
## Author: Seerah
## Notes: Tooltip enhancement
## Version: 2.19.2
## Version: 2.19.1
## SavedVariables: TipTopDB
## SavedVariablesPerCharacter: TipTopPCDB
## OptionalDeps: Ace3, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets