Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide whitespace changes
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Text styles
Change appearance
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
7 years ago
Diff never expires
Clear
Export
Share
Explain
2 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
13 lines
Copy
23 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
34 lines
Copy
pfUI.tooltipStatusBar:SetScript("OnUpdate", function()
pfUI.tooltipStatusBar:SetScript("OnUpdate", function()
Copy
Copied
Copy
Copied
local hp = GameTooltipStatusBar:GetValue()
-- EM-Addons
local _, hpm = GameTooltipStatusBar:GetMinMaxValues()
local hp, hpm, _;
local hpm;
if (MobHealthFrame) then
local name = UnitName("mouseover");
local level = UnitLevel("mouseover");
local index = name .. ":" .. level;
local ppp = MobHealth_PPP(index);
local perc = UnitHealth("mouseover");
hp = math.floor(perc * ppp + 0.5);
hpm = math.floor(100 * ppp + 0.5);
Copy
Copied
Copy
Copied
if (hp == nil or hpm == nil) then
hp = GameTooltipStatusBar:GetValue()
_, hpm = GameTooltipStatusBar:GetMinMaxValues()
end
else
hp = GameTooltipStatusBar:GetValue()
_, hpm = GameTooltipStatusBar:GetMinMaxValues()
end
-- EM-Addons
if hp and hpm then
if hp and hpm then
if hp >= 1000 then hp = round(hp / 1000, 1) .. "k" end
if hp >= 1000 then hp = round(hp / 1000, 1) .. "k" end
if hpm >= 1000 then hpm = round(hpm / 1000, 1) .. "k" end
if hpm >= 1000 then hpm = round(hpm / 1000, 1) .. "k" end
if pfUI.tooltipStatusBar and pfUI.tooltipStatusBar.HP then
if pfUI.tooltipStatusBar and pfUI.tooltipStatusBar.HP then
pfUI.tooltipStatusBar.HP:SetText(hp .. " / " .. hpm)
pfUI.tooltipStatusBar.HP:SetText(hp .. " / " .. hpm)
end
end
end
end
end)
end)
Saved diffs
Original text
Open file
pfUI.tooltipStatusBar:SetScript("OnUpdate", function() local hp = GameTooltipStatusBar:GetValue() local _, hpm = GameTooltipStatusBar:GetMinMaxValues() if hp and hpm then if hp >= 1000 then hp = round(hp / 1000, 1) .. "k" end if hpm >= 1000 then hpm = round(hpm / 1000, 1) .. "k" end if pfUI.tooltipStatusBar and pfUI.tooltipStatusBar.HP then pfUI.tooltipStatusBar.HP:SetText(hp .. " / " .. hpm) end end end)
Changed text
Open file
pfUI.tooltipStatusBar:SetScript("OnUpdate", function() -- EM-Addons local hp, hpm, _; local hpm; if (MobHealthFrame) then local name = UnitName("mouseover"); local level = UnitLevel("mouseover"); local index = name .. ":" .. level; local ppp = MobHealth_PPP(index); local perc = UnitHealth("mouseover"); hp = math.floor(perc * ppp + 0.5); hpm = math.floor(100 * ppp + 0.5); if (hp == nil or hpm == nil) then hp = GameTooltipStatusBar:GetValue() _, hpm = GameTooltipStatusBar:GetMinMaxValues() end else hp = GameTooltipStatusBar:GetValue() _, hpm = GameTooltipStatusBar:GetMinMaxValues() end -- EM-Addons if hp and hpm then if hp >= 1000 then hp = round(hp / 1000, 1) .. "k" end if hpm >= 1000 then hpm = round(hpm / 1000, 1) .. "k" end if pfUI.tooltipStatusBar and pfUI.tooltipStatusBar.HP then pfUI.tooltipStatusBar.HP:SetText(hp .. " / " .. hpm) end end end)
Find difference