Diff
checker
Testo
Testo
Immagini
Documenti
Excel
Cartelle
Legal
Enterprise
Applicazione per desktop
Prezzi
Accedi
Scarica Diffchecker Desktop
Confronta il testo
Trova la differenza tra due file di testo
Strumenti
Cronologia
Editor live
Nascondi spazi bianchi
Comprimi invariate
Senza a capo
Layout
Diviso
Unificato
Livello di dettaglio
Intelligente
Parola
Carattere
Stili testo
Modifica aspetto
Evidenziazione sintassi
Scegli sintassi
Ignora
Trasforma testo
Vai alla prima modifica
Modifica input
Diffchecker Desktop
Il modo più sicuro per usare Diffchecker. Ottieni l'app Diffchecker Desktop: i tuoi diff non lasciano mai il tuo computer!
Ottieni Desktop
Untitled diff
Creato
7 anni fa
Il diff non scade mai
Eliminare
Esporta
Condividere
Spiegare
2 rimozioni
Linee
Totale
Rimosso
Caratteri
Totale
Rimosso
Per continuare a utilizzare questa funzione, aggiorna a
Diff
checker
Pro
Visualizza prezzi
13 linee
Copia tutti
23 aggiunte
Linee
Totale
Aggiunto
Caratteri
Totale
Aggiunto
Per continuare a utilizzare questa funzione, aggiorna a
Diff
checker
Pro
Visualizza prezzi
34 linee
Copia tutti
pfUI.tooltipStatusBar:SetScript("OnUpdate", function()
pfUI.tooltipStatusBar:SetScript("OnUpdate", function()
Copia
Copiato
Copia
Copiato
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);
Copia
Copiato
Copia
Copiato
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)
Diff salvati
Testo originale
Apri 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)
Testo modificato
Apri 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)
Trovare la differenza