rename config variable

This commit is contained in:
Eric Mauser
2016-05-15 23:15:07 +02:00
parent c6717cd1c0
commit 65f2b15627
8 changed files with 96 additions and 96 deletions
+4 -4
View File
@@ -43,9 +43,9 @@ pfUI.uf.targettarget:SetScript("OnUpdate", function()
real = UnitHealth("targettarget")
diff = abs(real - display)
if display < real then
pfUI.uf.targettarget.hp.bar:SetValue(display + ceil(diff / pfUI.config.unitframes.animation_speed))
pfUI.uf.targettarget.hp.bar:SetValue(display + ceil(diff / pfUI_config.unitframes.animation_speed))
elseif display > real then
pfUI.uf.targettarget.hp.bar:SetValue(display - ceil(diff / pfUI.config.unitframes.animation_speed))
pfUI.uf.targettarget.hp.bar:SetValue(display - ceil(diff / pfUI_config.unitframes.animation_speed))
end
PowerColor = ManaBarColor[UnitPowerType("targettarget")];
@@ -57,9 +57,9 @@ pfUI.uf.targettarget:SetScript("OnUpdate", function()
real = UnitMana("targettarget")
diff = abs(real - display)
if display < real then
pfUI.uf.targettarget.power.bar:SetValue(display + ceil(diff / pfUI.config.unitframes.animation_speed))
pfUI.uf.targettarget.power.bar:SetValue(display + ceil(diff / pfUI_config.unitframes.animation_speed))
elseif display > real then
pfUI.uf.targettarget.power.bar:SetValue(display - ceil(diff / pfUI.config.unitframes.animation_speed))
pfUI.uf.targettarget.power.bar:SetValue(display - ceil(diff / pfUI_config.unitframes.animation_speed))
end
end)